diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2022-11-24 14:48:58 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2022-11-24 14:48:58 +0100 |
| commit | 605e5bfc7960eaf6001d47192a1f7401effa463c (patch) | |
| tree | d0f74eb4a9b70eb32426843b870570d125f78b36 | |
| parent | 4a6e5df2fb139d8402b4171b2f036b3a12372230 (diff) | |
Add comment
| -rw-r--r-- | extensions/corfu-popupinfo.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/corfu-popupinfo.el b/extensions/corfu-popupinfo.el index 0eba027..bb1dd42 100644 --- a/extensions/corfu-popupinfo.el +++ b/extensions/corfu-popupinfo.el @@ -235,6 +235,8 @@ all values are in pixels relative to the origin. See ;; since lines will get wrapped. (when (<= (car size) max-width) (cons (+ margin (car size)) + ;; Ensure that popup has at least a height of 1, + ;; which is the minimum frame height (#261). (min (max (cdr size) lh) max-height)))))) (cons (+ margin max-width) max-height)))) |
