mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-09-01 06:41:30 +00:00
Add explicit default case
This commit is contained in:
parent
64bef38813
commit
21951e3668
1 changed files with 2 additions and 0 deletions
|
|
@ -580,6 +580,8 @@ scroll_event(double UNUSED xoffset, double yoffset, int flags) {
|
|||
if (window_for_momentum_scroll != w->id) return;
|
||||
case 3:
|
||||
window_for_momentum_scroll = 0; break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (is_high_resolution) {
|
||||
yoffset *= OPT(touch_scroll_multiplier);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue