[Scummvm-git-logs] scummvm master -> e128d69748f087584476b4ac0ae6c45b42d9fdca

antoniou79 a.antoniou79 at gmail.com
Sat Jun 26 13:47:24 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:
e128d69748 GUI: Don't draw invisible thumbnail obstucting selection in Load Save dialogue


Commit: e128d69748f087584476b4ac0ae6c45b42d9fdca
    https://github.com/scummvm/scummvm/commit/e128d69748f087584476b4ac0ae6c45b42d9fdca
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2021-06-26T16:44:23+03:00

Commit Message:
GUI: Don't draw invisible thumbnail obstucting selection in Load Save dialogue

This fix is particular to the Load Save ScummVM dialogue where the issue is observed

A more general fix is proposed in PR https://github.com/scummvm/scummvm/pull/3080.

Changed paths:
    gui/saveload-dialog.cpp


diff --git a/gui/saveload-dialog.cpp b/gui/saveload-dialog.cpp
index a6c859c223..9e4d05ee65 100644
--- a/gui/saveload-dialog.cpp
+++ b/gui/saveload-dialog.cpp
@@ -588,7 +588,7 @@ void SaveLoadChooserSimple::updateSelection(bool redraw) {
 
 		if (_thumbnailSupport) {
 			const Graphics::Surface *thumb = desc.getThumbnail();
-			if (thumb)
+			if (thumb && _gfxWidget->isVisible())
 				_gfxWidget->setGfx(thumb, true);
 		}
 




More information about the Scummvm-git-logs mailing list