mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
AGS: Engine: fixed gui controls not updated after interface is un-disabled
from upstream 126a5e4c97581aabadbbd4410441b83f371e18ea
This commit is contained in:
parent
8c6524a888
commit
61c7c0fcfe
@ -447,9 +447,7 @@ void update_gui_disabled_status() {
|
||||
if (all_buttons_was != _G(all_buttons_disabled)) {
|
||||
// As controls become enabled we must notify parent GUIs
|
||||
// to let them reset control-under-mouse detection
|
||||
for (int aa = 0; aa < _GP(game).numgui; aa++) {
|
||||
_GP(guis)[aa].MarkControlsChanged();
|
||||
}
|
||||
GUI::MarkAllGUIForUpdate();
|
||||
if (GUI::Options.DisabledStyle != kGuiDis_Unchanged) {
|
||||
invalidate_screen();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user