From 9355ac7fc9ec3f91cd8657a3b7728dcea5568f15 Mon Sep 17 00:00:00 2001 From: Thomas Jentzsch Date: Fri, 12 Aug 2022 20:52:25 +0200 Subject: [PATCH] fixed reversed image directions --- src/gui/RomImageWidget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/RomImageWidget.cxx b/src/gui/RomImageWidget.cxx index ea8e5a4a4..3d63a4500 100644 --- a/src/gui/RomImageWidget.cxx +++ b/src/gui/RomImageWidget.cxx @@ -216,7 +216,7 @@ bool RomImageWidget::loadPng(const string& filename) void RomImageWidget::handleMouseUp(int x, int y, MouseButton b, int clickCount) { if(isEnabled() && x >= 0 && x < _w && y >= 0 && y < myImageHeight) - changeImage(x < _w / 2 ? 1 : -1); + changeImage(x < _w / 2 ? -1 : 1); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -