[Scummvm-git-logs] scummvm master -> d7dcce6901390eaaeafe32093aa9247129c3d71e
sev-
noreply at scummvm.org
Sat Jul 2 10:03:09 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d7dcce6901 GUI: Fix mouse wheel on grid item tray
Commit: d7dcce6901390eaaeafe32093aa9247129c3d71e
https://github.com/scummvm/scummvm/commit/d7dcce6901390eaaeafe32093aa9247129c3d71e
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2022-07-02T12:03:05+02:00
Commit Message:
GUI: Fix mouse wheel on grid item tray
When using the mouse wheel (scroll up/down) in the Grid view, item tray for a selected game, ScummVM would exit
I didn't notice any side-effects from the fix, but someone more familiar with the code should confirm.
Changed paths:
gui/widgets/grid.cpp
diff --git a/gui/widgets/grid.cpp b/gui/widgets/grid.cpp
index d786d43da84..8355133e9ae 100644
--- a/gui/widgets/grid.cpp
+++ b/gui/widgets/grid.cpp
@@ -270,7 +270,6 @@ void GridItemTray::handleMouseDown(int x, int y, int button, int clickCount) {
}
void GridItemTray::handleMouseWheel(int x, int y, int direction) {
- Dialog::handleMouseWheel(x, y, direction);
close();
}
More information about the Scummvm-git-logs
mailing list