[Scummvm-git-logs] scummvm master -> 85b2770d7fdb7a16c3f5e1225a3d67822a78a3cf

djsrv dservilla at gmail.com
Thu Aug 6 17:22:10 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:
85b2770d7f GRAPHICS: MACGUI: Fix inactive window coloring


Commit: 85b2770d7fdb7a16c3f5e1225a3d67822a78a3cf
    https://github.com/scummvm/scummvm/commit/85b2770d7fdb7a16c3f5e1225a3d67822a78a3cf
Author: djsrv (dservilla at gmail.com)
Date: 2020-08-06T13:21:44-04:00

Commit Message:
GRAPHICS: MACGUI: Fix inactive window coloring

Changed paths:
    graphics/macgui/macwindow.cpp


diff --git a/graphics/macgui/macwindow.cpp b/graphics/macgui/macwindow.cpp
index 3272f188fa..bbabc1373e 100644
--- a/graphics/macgui/macwindow.cpp
+++ b/graphics/macgui/macwindow.cpp
@@ -278,7 +278,7 @@ void MacWindow::drawBorder() {
 			w = maxWidth;
 
 		if (_macBorder.hasBorder(_active)) {
-			if (!_macBorder.getOffset().dark)
+			if (_active && !_macBorder.getOffset().dark)
 				fillRect(g, (width - w) / 2, titleY, w, titleHeight, _wm->_colorOffWhite);
 		} else {
 			drawBox(g, (width - w) / 2, titleY, w, titleHeight);




More information about the Scummvm-git-logs mailing list