[Scummvm-cvs-logs] scummvm master -> 92b7a86e1f9529c78f62a241aee161eb69ff08ab
salty-horse
ori at avtalion.name
Wed Apr 13 12:21:41 CEST 2016
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:
92b7a86e1f GUI: Remove highlighting when button widget is pressed
Commit: 92b7a86e1f9529c78f62a241aee161eb69ff08ab
https://github.com/scummvm/scummvm/commit/92b7a86e1f9529c78f62a241aee161eb69ff08ab
Author: Ori Avtalion (ori at avtalion.name)
Date: 2016-04-13T13:21:27+03:00
Commit Message:
GUI: Remove highlighting when button widget is pressed
Without this, buttons would stay highlighted after being un-pressed.
Fixes #7094.
Changed paths:
gui/widget.cpp
diff --git a/gui/widget.cpp b/gui/widget.cpp
index 11b1ed6..4143111 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -356,6 +356,7 @@ void ButtonWidget::handleTickle() {
void ButtonWidget::setPressedState() {
wantTickle(true);
setFlags(WIDGET_PRESSED);
+ clearFlags(WIDGET_HILITED);
draw();
}
More information about the Scummvm-git-logs
mailing list