emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ivy-posframe 1297ebc 078/195: Fix focus can go out of f


From: Feng Shu
Subject: [elpa] externals/ivy-posframe 1297ebc 078/195: Fix focus can go out of frame with multi line collections #31
Date: Sat, 3 Oct 2020 07:11:49 -0400 (EDT)

branch: externals/ivy-posframe
commit 1297ebc13fea6a3cb2696c01c34fb6d18e85356b
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    Fix focus can go out of frame with multi line collections #31
---
 ivy-posframe.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ivy-posframe.el b/ivy-posframe.el
index 8858e10..aa677d0 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -217,10 +217,10 @@ This variable is useful for `ivy-posframe-read-action' .")
        :poshandler poshandler
        :background-color (face-attribute 'ivy-posframe :background)
        :foreground-color (face-attribute 'ivy-posframe :foreground)
-       :height (or ivy-posframe-height ivy-height)
-       :width (or ivy-posframe-width (round (* (frame-width) 0.62)))
-       :min-height (or ivy-posframe-min-height 10)
-       :min-width (or ivy-posframe-min-width 50)
+       :height ivy-posframe-height
+       :width ivy-posframe-width
+       :min-height (or ivy-posframe-min-height (+ ivy-height 1))
+       :min-width (or ivy-posframe-min-width (round (* (frame-width) 0.62)))
        :internal-border-width ivy-posframe-border-width
        :internal-border-color (face-attribute 'ivy-posframe-border :background)
        :override-parameters ivy-posframe-parameters))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]