=> d6fea09aad6b4972a3e00616598459ed91fb697d
[1mdiff --git a/src/app.c b/src/app.c[m [1mindex 5563593a..3c6014fa 100644[m [1m--- a/src/app.c[m [1m+++ b/src/app.c[m [36m@@ -2655,8 +2655,13 @@[m [mstatic void updateImageStyleButton_(iLabelWidget *button, int style) {[m static iBool handlePrefsCommands_(iWidget *d, const char *cmd) {[m if (equal_Command(cmd, "prefs.dismiss") || equal_Command(cmd, "preferences")) {[m setupSheetTransition_Mobile(d, iFalse);[m [31m- setUiScale_Window(get_Window(),[m [31m- toFloat_String(text_InputWidget(findChild_Widget(d, "prefs.uiscale"))));[m [32m+[m[32m /* Apply the new UI scaling factor to all non-popup windows. */ {[m [32m+[m[32m const float uiScale =[m [32m+[m[32m toFloat_String(text_InputWidget(findChild_Widget(d, "prefs.uiscale")));[m [32m+[m[32m iConstForEach(PtrArray, i, regularWindows_App()) {[m [32m+[m[32m setUiScale_Window(i.ptr, uiScale);[m [32m+[m[32m }[m [32m+[m[32m }[m #if defined (LAGRANGE_ENABLE_DOWNLOAD_EDIT)[m postCommandf_App("downloads path:%s",[m cstr_String(text_InputWidget(findChild_Widget(d, "prefs.downloads"))));[m [1mdiff --git a/src/ui/window.c b/src/ui/window.c[m [1mindex 2d20c0e3..774cfba3 100644[m [1m--- a/src/ui/window.c[m [1m+++ b/src/ui/window.c[m [36m@@ -1691,9 +1691,7 @@[m [mvoid setUiScale_Window(iWindow *d, float uiScale) {[m notifyMetricsChange_Window_(d);[m }[m }[m [31m- else {[m [31m- initialUiScale_ = uiScale;[m [31m- }[m [32m+[m[32m initialUiScale_ = uiScale; /* used for new windows */[m }[m [m void setFreezeDraw_MainWindow(iMainWindow *d, iBool freezeDraw) {[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).