mirror of https://github.com/GNOME/gimp.git
app: Add GDK_SCROLL_MASK to gimpviewablebutton initialization.
This makes these buttons respond to scroll wheels again, a regression encountered in GIMP 2.99.x. Code location and fix found by Massimo Valentini. Fixes issue #6929.
This commit is contained in:
parent
ce6626163e
commit
149358021e
|
@ -110,6 +110,8 @@ gimp_viewable_button_init (GimpViewableButton *button)
|
|||
|
||||
button->button_view_size = GIMP_VIEW_SIZE_SMALL;
|
||||
button->view_border_width = 1;
|
||||
|
||||
gtk_widget_add_events (GTK_WIDGET (button), GDK_SCROLL_MASK);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue