mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
Scrolling with mouse wheel when a selection is active should update the selection
Fixes #7543
This commit is contained in:
parent
dbeb31b7ad
commit
85a64f2934
2 changed files with 6 additions and 1 deletions
|
|
@ -90,6 +90,8 @@ Detailed list of changes
|
|||
|
||||
- Remote control: @ action: Fix some actions being performed on the active window instead of the matched window (:iss:`7438`)
|
||||
|
||||
- Scrolling with mouse wheel when a selection is active should update the selection (:iss:`7453`)
|
||||
|
||||
0.34.1 [2024-04-19]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -961,7 +961,10 @@ scroll_event(double xoffset, double yoffset, int flags, int modifiers) {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
if (screen->linebuf == screen->main_linebuf) screen_history_scroll(screen, abs(s), upwards);
|
||||
if (screen->linebuf == screen->main_linebuf) {
|
||||
screen_history_scroll(screen, abs(s), upwards);
|
||||
if (screen->selections.in_progress) update_drag(w);
|
||||
}
|
||||
else fake_scroll(w, abs(s), upwards);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue