Merge pull request #1955 from Dune-jr/fix-mousesens-width

Adjust mousesens scrollbar width for lengthy strings
This commit is contained in:
oy 2019-01-06 15:25:09 +01:00 committed by GitHub
commit 745bbf580e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,7 +127,7 @@ float CMenus::RenderSettingsControlsMovement(CUIRect View, void *pUser)
CUIRect Button;
View.HSplitTop(Spaceing, 0, &View);
View.HSplitTop(ButtonHeight, &Button, &View);
pSelf->DoScrollbarOption(&g_Config.m_InpMousesens, &g_Config.m_InpMousesens, &Button, Localize("Mouse sens."), 150.0f, 5, 500);
pSelf->DoScrollbarOption(&g_Config.m_InpMousesens, &g_Config.m_InpMousesens, &Button, Localize("Mouse sens."), 200.0f, 5, 500);
pSelf->UiDoGetButtons(0, 5, View, ButtonHeight, Spaceing);