ENH: save uniform scale to an app_config item

Change-Id: Ib4a42597308382ea195d73776790e9cd4a122b76
This commit is contained in:
Stone Li 2022-09-26 15:54:26 +08:00 committed by Lane.Wei
parent c6d6784070
commit 2996affc55
3 changed files with 11 additions and 0 deletions

View file

@ -299,6 +299,10 @@ void AppConfig::set_defaults()
}
#endif
if (get("uniform_scale").empty()) {
set("uniform_scale", "1");
}
// Remove legacy window positions/sizes
erase("app", "main_frame_maximized");
erase("app", "main_frame_pos");