fixed reversed image directions

This commit is contained in:
Thomas Jentzsch 2022-08-12 20:52:25 +02:00
parent 66c75b4cc9
commit 093c10bd00
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -