Skip to content

Commit

Permalink
re-enable scroll-to-zoom broken by e1b6e67
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfbrown committed Aug 19, 2024
1 parent c3abb12 commit 628f058
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gui/gtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1296,10 +1296,6 @@ int dt_gui_gtk_init(dt_gui_gtk_t *gui)
g_object_set(G_OBJECT(settings), "gtk-theme-name", "Adwaita", (gchar *)0);
g_object_unref(settings);

// Initializing widgets
_init_widgets(gui);
dt_gui_apply_theme();

// smooth scrolling must be enabled to handle trackpad/touch events
gui->scroll_mask = GDK_SCROLL_MASK | GDK_SMOOTH_SCROLL_MASK;

Expand All @@ -1309,6 +1305,10 @@ int dt_gui_gtk_init(dt_gui_gtk_t *gui)
// Init focus peaking
gui->show_focus_peaking = dt_conf_get_bool("ui/show_focus_peaking");

// Initializing widgets
_init_widgets(gui);
dt_gui_apply_theme();

//init overlay colors
dt_guides_set_overlay_colors();

Expand Down

0 comments on commit 628f058

Please sign in to comment.