diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpanelgeneral.cpp | 3 |
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() | |||
214 | void LLPanelGeneral::onClickResetUISize(void* user_data) | 214 | void 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 |