diff options
author | Enrico Tröger <unknown> | 2023-01-17 19:03:05 +1100 |
---|---|---|
committer | Enrico Tröger <unknown> | 2023-01-17 19:03:05 +1100 |
commit | 6039080cfba2b9344fa9cde2ba5688d2db590d66 (patch) | |
tree | 65c3617372f31a41776a3297940b746ddec3aa78 /gtk | |
parent | bc9ee2dd45e7654c5c1d6c2b4b3791df20962a95 (diff) | |
download | scintilla-mirror-6039080cfba2b9344fa9cde2ba5688d2db590d66.tar.gz |
Bug [#2375]. On Win32, fix scrolling speed to not be too fast.
Diffstat (limited to 'gtk')
-rwxr-xr-x | gtk/ScintillaGTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index ec6f83058..168416bb7 100755 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2000,7 +2000,7 @@ gint ScintillaGTK::ScrollEvent(GtkWidget *widget, GdkEventScroll *event) { // where the X11 server already has an adaptive scrolling algorithm // that fights with this one int cLineScroll; -#if defined(__APPLE__) && !defined(GDK_WINDOWING_QUARTZ) +#if (defined(__APPLE__) || defined(PLAT_GTK_WIN32)) && !defined(GDK_WINDOWING_QUARTZ) cLineScroll = sciThis->linesPerScroll; if (cLineScroll == 0) cLineScroll = 4; |