aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorJacek Antonelli2010-09-17 18:43:26 -0500
committerJacek Antonelli2010-09-17 18:43:56 -0500
commit0a788390a1d49f169e18e85488718af7bb6f6bf6 (patch)
tree36455baa6735d16d3139a3361ad3974e6cec2ead /linden/indra
parentChanged default UIScaleFactor from 1.002 to 1.0. (diff)
downloadmeta-impy-0a788390a1d49f169e18e85488718af7bb6f6bf6.zip
meta-impy-0a788390a1d49f169e18e85488718af7bb6f6bf6.tar.gz
meta-impy-0a788390a1d49f169e18e85488718af7bb6f6bf6.tar.bz2
meta-impy-0a788390a1d49f169e18e85488718af7bb6f6bf6.tar.xz
UI Scale Reset button finds the actual default, not hardcoded.
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llpanelgeneral.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llpanelgeneral.cpp b/linden/indra/newview/llpanelgeneral.cpp
index 287ee41..a2cba4c 100644
--- a/linden/indra/newview/llpanelgeneral.cpp
+++ b/linden/indra/newview/llpanelgeneral.cpp
@@ -214,7 +214,8 @@ void LLPanelGeneral::cancel()
214void LLPanelGeneral::onClickResetUISize(void* user_data) 214void LLPanelGeneral::onClickResetUISize(void* user_data)
215{ 215{
216 LLPanelGeneral* self = (LLPanelGeneral*)user_data; 216 LLPanelGeneral* self = (LLPanelGeneral*)user_data;
217 self->childSetValue("ui_scale_slider", 1.002f); 217 F32 def = gSavedSettings.getControl("UIScaleFactor")->getDefault().asReal();
218 self->childSetValue("ui_scale_slider", def);
218} 219}
219 220
220// static 221// static