Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Bryan Tan <Technius@users.noreply.github.com>
  • Loading branch information
2 people authored and rolandlo committed Nov 17, 2022
1 parent 885b4e7 commit 3ba1794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ void MainWindow::setGtkTouchscreenScrollingEnabled(bool enabled) {

Util::execInUiThread(
[=]() {
bool touchScrollEnabled = gtkTouchscreenScrollingEnabled.load();
const bool touchScrollEnabled = gtkTouchscreenScrollingEnabled.load();

gtk_scrolled_window_set_kinetic_scrolling(GTK_SCROLLED_WINDOW(winXournal), touchScrollEnabled);
},
Expand Down

0 comments on commit 3ba1794

Please sign in to comment.