summaryrefslogtreecommitdiff
path: root/corfu.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2022-11-26 19:33:04 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2022-11-26 19:33:04 +0100
commitd7628130251c9a60efc8b64f0430d0206afc3da8 (patch)
tree0ba8dc1e6213f550e3f13e559cb3dbcafcc60ea6 /corfu.el
parent5df80e26b1d365fa0bb9250186d8d1ec5ab46cdf (diff)
Remove some unnecessary offsets (See #263)
Diffstat (limited to 'corfu.el')
-rw-r--r--corfu.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/corfu.el b/corfu.el
index fe63b7c..5c20ec9 100644
--- a/corfu.el
+++ b/corfu.el
@@ -458,7 +458,7 @@ A scroll bar is displayed from LO to LO+BAR."
(- (frame-pixel-width) width))))
(yb (+ (cadr edge) (window-tab-line-height) (or (cdr pos) 0) ch))
(y (if (> (+ yb (* corfu-count ch) ch ch) (frame-pixel-height))
- (- yb height ch 1)
+ (- yb height ch border border)
yb))
(row 0))
(setq corfu--frame