Skip to content

Commit

Permalink
Apply changes 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 26122a7 commit 885b4e7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/gui/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,7 @@ void MainWindow::setGtkTouchscreenScrollingForDeviceMapping() {
}

void MainWindow::setGtkTouchscreenScrollingEnabled(bool enabled) {
bool useGtkInertialScroll = control->getSettings()->getGtkTouchInertialScrollingEnabled();

if (!useGtkInertialScroll) {
if (!control->getSettings()->getGtkTouchInertialScrollingEnabled()) {
enabled = false;
}

Expand Down

0 comments on commit 885b4e7

Please sign in to comment.