docs for #4839 and apply to other areas with similar issue

refs: https://github.com/wez/wezterm/pull/4839
This commit is contained in:
Wez Furlong committed 2024-01-23 05:55:18 -07:00
1 parent ff4e648834
commit 74e2c79d9c
3 files changed
+4 -2

No files matched your search

+2
View File
@@ -159,6 +159,8 @@ As features stabilize some brief notes about them will accumulate here.
* x11/wayland: avoid including keysym name in deadkey compose cursor. #4511
* Mouse wheel scrolling now works correctly when hovering over the inactive pane.
Thanks to @tradiff! #4339 #2373
* Scrolling glitch in Command Palette, Launcher and InputSelector. Thanks to
@metiftikci! #4839
#### Updated
* Bundled harfbuzz to 8.3.0
+1 -1
View File
@@ -451,7 +451,7 @@ impl LauncherState {
fn move_down(&mut self) {
self.active_idx = (self.active_idx + 1).min(self.filtered_entries.len() - 1);
if self.active_idx + self.top_row > self.max_items {
if self.active_idx > self.top_row + self.max_items {
self.top_row = self.active_idx.saturating_sub(self.max_items);
}
}
+1 -1
View File
@@ -188,7 +188,7 @@ impl SelectorState {
fn move_down(&mut self) {
self.active_idx = (self.active_idx + 1).min(self.filtered_entries.len() - 1);
if self.active_idx + self.top_row > self.max_items {
if self.active_idx > self.top_row + self.max_items {
self.top_row = self.active_idx.saturating_sub(self.max_items);
}
}