diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 97141bf150..a66f32c9d6 100755 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -17115,6 +17115,17 @@ Change of this parameter will affect the layout of buttons in notification toast Value 1 + FSNearbyChatToastsOffset + + Comment + Vertical offset of the nearby chat toasts + Persist + 1 + Type + S32 + Value + 20 + diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp index 1e626da3eb..81bc7fc0a7 100644 --- a/indra/newview/llnearbychathandler.cpp +++ b/indra/newview/llnearbychathandler.cpp @@ -435,7 +435,9 @@ void LLNearbyChatScreenChannel::arrangeToasts() S32 channel_bottom = channel_rect.mBottom; - S32 bottom = channel_bottom + 80; + // Configurable nearby chat toasts offset + //S32 bottom = channel_bottom + 80; + S32 bottom = channel_bottom + gSavedSettings.getS32("FSNearbyChatToastsOffset"); S32 margin = gSavedSettings.getS32("ToastGap"); //sort active toasts