[Scummvm-git-logs] scummvm master -> f229b185cb53fe2e2d582f1e9a23aaf3172bd230
dreammaster
noreply at scummvm.org
Tue Jan 9 02:43:51 UTC 2024
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:
f229b185cb M4: Prevent inventory scroll buttons from not appearing
Commit: f229b185cb53fe2e2d582f1e9a23aaf3172bd230
https://github.com/scummvm/scummvm/commit/f229b185cb53fe2e2d582f1e9a23aaf3172bd230
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2024-01-08T18:43:43-08:00
Commit Message:
M4: Prevent inventory scroll buttons from not appearing
The original executable has calls in the executable
to the buttons' hide method, but somehow still display
them. This fix comments out those calls to achieve
the same effect.
Changed paths:
engines/m4/burger/gui/interface.cpp
diff --git a/engines/m4/burger/gui/interface.cpp b/engines/m4/burger/gui/interface.cpp
index 04f4f68a2ef..9c536da1d5b 100644
--- a/engines/m4/burger/gui/interface.cpp
+++ b/engines/m4/burger/gui/interface.cpp
@@ -257,8 +257,8 @@ void Interface::refresh_right_arrow() {
_btnScrollRight->set_sprite_over(65);
_btnScrollRight->unhide();
} else {
- _btnScrollRight->hide();
- _btnScrollLeft->hide();
+// _btnScrollRight->hide();
+// _btnScrollLeft->hide();
}
}
@@ -270,8 +270,8 @@ void Interface::refresh_left_arrow() {
_btnScrollLeft->set_sprite_over(61);
_btnScrollLeft->unhide();
} else {
- _btnScrollRight->hide();
- _btnScrollLeft->hide();
+// _btnScrollRight->hide();
+// _btnScrollLeft->hide();
}
}
More information about the Scummvm-git-logs
mailing list