mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-30 21:20:15 +02:00
Fix "Large Screen" dialog not properly updating scale in powder.pref, causing scale to reset back to 1 on the next launch
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user