[Scummvm-git-logs] scummvm master -> 5665790baef97bb2b8a0f7818b5e21e743e2c90d

sev- sev at scummvm.org
Sat Apr 17 18:09:23 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:
5665790bae GUI: Avoid double scaling for Dialog insets


Commit: 5665790baef97bb2b8a0f7818b5e21e743e2c90d
    https://github.com/scummvm/scummvm/commit/5665790baef97bb2b8a0f7818b5e21e743e2c90d
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-04-17T20:09:08+02:00

Commit Message:
GUI: Avoid double scaling for Dialog insets

Changed paths:
    gui/ThemeParser.cpp


diff --git a/gui/ThemeParser.cpp b/gui/ThemeParser.cpp
index c97fe27b64..090129cd9d 100644
--- a/gui/ThemeParser.cpp
+++ b/gui/ThemeParser.cpp
@@ -783,7 +783,7 @@ bool ThemeParser::parserCallback_dialog(ParserNode *node) {
 			return false;
 	}
 
-	_theme->getEvaluator()->addDialog(name, overlays, SCALEVALUE(width), SCALEVALUE(height), SCALEVALUE(inset));
+	_theme->getEvaluator()->addDialog(name, overlays, SCALEVALUE(width), SCALEVALUE(height), inset);
 
 	if (node->values.contains("shading")) {
 		int shading = 0;




More information about the Scummvm-git-logs mailing list