diff options
author | D G Turner | 2018-10-11 05:52:02 +0100 |
---|---|---|
committer | D G Turner | 2018-10-11 05:52:02 +0100 |
commit | efcd857083122a669d9ba54d34a4b7aae07c245b (patch) | |
tree | 8ce8cc027a3570053190aafd13bf4013e9507edb /gui/unknown-game-dialog.cpp | |
parent | 6fc08fd2b145451b25d79e38e23db4efb4986f47 (diff) | |
download | scummvm-rg350-efcd857083122a669d9ba54d34a4b7aae07c245b.tar.gz scummvm-rg350-efcd857083122a669d9ba54d34a4b7aae07c245b.tar.bz2 scummvm-rg350-efcd857083122a669d9ba54d34a4b7aae07c245b.zip |
GUI: Fix Mouse Wheel Input for Unknown Game Dialog.
This should also fix this for other instances of ScrollContainer, though
the dialogs / widgets may require the same change.
This fixes bug Trac #10741.
Diffstat (limited to 'gui/unknown-game-dialog.cpp')
-rw-r--r-- | gui/unknown-game-dialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/unknown-game-dialog.cpp b/gui/unknown-game-dialog.cpp index 561d39457b..ecea16023f 100644 --- a/gui/unknown-game-dialog.cpp +++ b/gui/unknown-game-dialog.cpp @@ -81,6 +81,10 @@ UnknownGameDialog::UnknownGameDialog(const DetectionResults &detectionResults) : rebuild(); } +void UnknownGameDialog::handleMouseWheel(int x, int y, int direction) { + _textContainer->handleMouseWheel(x, y, direction); +} + void UnknownGameDialog::reflowLayout() { rebuild(); Dialog::reflowLayout(); |