[Scummvm-git-logs] scummvm master -> 3a5690ebb4f2e2ffdc589ebd2359eac60c9eceb3
rsn8887
rsn8887 at users.noreply.github.com
Tue Sep 15 01:58:41 UTC 2020
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:
3a5690ebb4 KEYMAPPER: Fix virtual mouse bound in small rectangle in vkeybd
Commit: 3a5690ebb4f2e2ffdc589ebd2359eac60c9eceb3
https://github.com/scummvm/scummvm/commit/3a5690ebb4f2e2ffdc589ebd2359eac60c9eceb3
Author: rsn8887 (rsn8887 at users.noreply.github.com)
Date: 2020-09-14T20:58:37-05:00
Commit Message:
KEYMAPPER: Fix virtual mouse bound in small rectangle in vkeybd
Changed paths:
backends/keymapper/virtual-mouse.cpp
diff --git a/backends/keymapper/virtual-mouse.cpp b/backends/keymapper/virtual-mouse.cpp
index 552fdbd1ee..b9d81ec6a6 100644
--- a/backends/keymapper/virtual-mouse.cpp
+++ b/backends/keymapper/virtual-mouse.cpp
@@ -65,7 +65,7 @@ bool VirtualMouse::pollEvent(Event &event) {
// Adjust the speed of the cursor according to the virtual screen resolution
Common::Rect screenSize;
- if (g_gui.isActive()) {
+ if (g_system->isOverlayVisible()) {
screenSize = Common::Rect(g_system->getOverlayWidth(), g_system->getOverlayHeight());
} else {
screenSize = Common::Rect(g_system->getWidth(), g_system->getHeight());
More information about the Scummvm-git-logs
mailing list