[Scummvm-git-logs] scummvm branch-2-6 -> ac8377286d6a38dac6e5af4fec838da364f82fa5

sev- noreply at scummvm.org
Sat Jul 2 10:03:45 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:
ac8377286d GUI: Fix mouse wheel on grid item tray


Commit: ac8377286d6a38dac6e5af4fec838da364f82fa5
    https://github.com/scummvm/scummvm/commit/ac8377286d6a38dac6e5af4fec838da364f82fa5
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2022-07-02T12:03:31+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