mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-06 16:36:32 +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)
|
if (engine.windowFrameOps.scale != guessed)
|
||||||
{
|
{
|
||||||
engine.windowFrameOps.scale = guessed;
|
engine.windowFrameOps.scale = guessed;
|
||||||
prefs.Set("Scale", windowFrameOps.scale);
|
prefs.Set("Scale", guessed);
|
||||||
showLargeScreenDialog = true;
|
showLargeScreenDialog = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user