Skip to content

Commit 94b9f5a

Browse files
committed
fix mousewheel scrolling
... don't set DISCRETE fixes it
1 parent 4bf6e84 commit 94b9f5a

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,6 @@ $ vipsdisp ~/pics/k2.jpg
133133
- gtk 4.10 added GSK_SCALING_FILTER_NEAREST and GskTextureScale ... use this
134134
for the main window
135135

136-
- looks like we need our own scrolledwindow
137-
138-
https://discourse.gnome.org/t/scrolledwindow-and-image-view-apps/15101
139-
140-
copy-paste the gtk one and remove the mousewheel scroll code
141-
142136
- fix deprecation warnings
143137

144138
at least hide them!

src/imagewindow.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,6 @@ image_window_init( ImageWindow *win )
13061306
/* Panning windows should use scroll to zoom, according to the HIG.
13071307
*/
13081308
controller = GTK_EVENT_CONTROLLER( gtk_event_controller_scroll_new(
1309-
GTK_EVENT_CONTROLLER_SCROLL_DISCRETE |
13101309
GTK_EVENT_CONTROLLER_SCROLL_VERTICAL ) );
13111310
g_signal_connect( controller, "scroll",
13121311
G_CALLBACK( image_window_scroll ), win );

0 commit comments

Comments
 (0)