[Scummvm-git-logs] scummvm master -> 9accbf1c300661888bfc9ddbacdec37fc0c6c62b
alxpnv
noreply at scummvm.org
Mon Dec 27 11:03:06 UTC 2021
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:
9accbf1c30 ASYLUM: ignore mouse clicks while the cursor is hidden
Commit: 9accbf1c300661888bfc9ddbacdec37fc0c6c62b
https://github.com/scummvm/scummvm/commit/9accbf1c300661888bfc9ddbacdec37fc0c6c62b
Author: alxpnv (alxpnv22 at yahoo.com)
Date: 2021-12-27T14:01:54+03:00
Commit Message:
ASYLUM: ignore mouse clicks while the cursor is hidden
Changed paths:
engines/asylum/views/scene.cpp
diff --git a/engines/asylum/views/scene.cpp b/engines/asylum/views/scene.cpp
index ca8498061bc..235f61bb97d 100644
--- a/engines/asylum/views/scene.cpp
+++ b/engines/asylum/views/scene.cpp
@@ -337,7 +337,7 @@ bool Scene::handleEvent(const AsylumEvent &evt) {
case Common::EVENT_LBUTTONDOWN:
case Common::EVENT_RBUTTONDOWN:
case Common::EVENT_MBUTTONDOWN:
- return clickDown(evt);
+ return getCursor()->isHidden() ? false : clickDown(evt);
}
return false;
More information about the Scummvm-git-logs
mailing list