diff options
author | Ansariel <none@none> | 2016-11-25 17:40:48 +0100 |
---|---|---|
committer | Ansariel <none@none> | 2016-11-25 17:40:48 +0100 |
commit | 7d40f756b031d519d6aaa089d610333e2718cbb2 (patch) | |
tree | ff57204da8fa1bf61829efb1f7631c51934aca6f | |
parent | 7d8bfcfb745c8465f227e184ad819015fe799332 (diff) |
Fix UI scaling changed notice showing up on startup if system UI scale factor changed during last session
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index de71443067..61505b7c07 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -1603,6 +1603,7 @@ BOOL LLViewerWindow::handleDPIChanged(LLWindow *window, F32 ui_scale_factor, S32 { if (ui_scale_factor >= MIN_UI_SCALE && ui_scale_factor <= MAX_UI_SCALE) { + gSavedSettings.setF32("LastSystemUIScaleFactor", ui_scale_factor); gSavedSettings.setF32("UIScaleFactor", ui_scale_factor); LLViewerWindow::reshape(window_width, window_height); mResDirty = true; |