From 175d8e1b28e72d92a7f22870b46a78236d696a3c Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 1 Jun 2024 00:36:51 -0400 Subject: [PATCH] Fix "Large Screen" dialog not properly updating scale in powder.pref, causing scale to reset back to 1 on the next launch --- src/PowderToy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PowderToy.cpp b/src/PowderToy.cpp index 66ebd40a3..d651b9e5b 100644 --- a/src/PowderToy.cpp +++ b/src/PowderToy.cpp @@ -457,7 +457,7 @@ int Main(int argc, char *argv[]) if (engine.windowFrameOps.scale != guessed) { engine.windowFrameOps.scale = guessed; - prefs.Set("Scale", windowFrameOps.scale); + prefs.Set("Scale", guessed); showLargeScreenDialog = true; } }