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

AndywinXp noreply at scummvm.org
Sun Nov 19 18:19:31 UTC 2023


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:
fd632752e2 SCUMM: MACGUI: Make Indy3 Save dialog EditText widget pixel accurate


Commit: fd632752e2e108d279687c2d827df06f178cb89d
    https://github.com/scummvm/scummvm/commit/fd632752e2e108d279687c2d827df06f178cb89d
Author: AndywinXp (andywinxp at gmail.com)
Date: 2023-11-19T19:19:23+01:00

Commit Message:
SCUMM: MACGUI: Make Indy3 Save dialog EditText widget pixel accurate

Changed paths:
    engines/scumm/gfx_mac.cpp


diff --git a/engines/scumm/gfx_mac.cpp b/engines/scumm/gfx_mac.cpp
index b3c1d40e578..8c43fa75c72 100644
--- a/engines/scumm/gfx_mac.cpp
+++ b/engines/scumm/gfx_mac.cpp
@@ -2985,6 +2985,10 @@ MacGui::MacDialogWindow *MacGui::createDialog(int dialogId) {
 			case 16:
 			{
 				// Editable text
+
+				// Adjust for pixel accuracy...
+				r.left -= 1;
+
 				MacGui::MacEditText *editText = window->addEditText(r, "Game file", enabled);
 				editText->selectAll();
 




More information about the Scummvm-git-logs mailing list