From 5e691417a1588bc108b5afc5e78572b1d5fd830d Mon Sep 17 00:00:00 2001 From: Jordy Ruiz Date: Sun, 27 Oct 2019 13:13:57 +0000 Subject: [PATCH] Adjust assets menus to extended UI view --- src/game/client/components/menus_gamer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/game/client/components/menus_gamer.cpp b/src/game/client/components/menus_gamer.cpp index df3f6bb2dc..6557c89fc4 100644 --- a/src/game/client/components/menus_gamer.cpp +++ b/src/game/client/components/menus_gamer.cpp @@ -359,22 +359,22 @@ void CMenus::RenderSettingsGamerEntities(CUIRect MainView) void CMenus::RenderSettingsGamerEntitiesGameSkin(CUIRect MainView) { - RenderSettingsGamerEntitiesGeneric(MainView, &m_pClient->m_pEntities->m_GameSkins, g_Config.m_ClCustomGameskin, "Game skin", 3, 2.0f); + RenderSettingsGamerEntitiesGeneric(MainView, &m_pClient->m_pEntities->m_GameSkins, g_Config.m_ClCustomGameskin, "Game skin", g_Config.m_ClGBrowser ? 4 : 3, 2.0f); } void CMenus::RenderSettingsGamerEntitiesParticles(CUIRect MainView) { - RenderSettingsGamerEntitiesGeneric(MainView, &m_pClient->m_pEntities->m_Particles, g_Config.m_ClCustomParticles, "Particles", 5, 1.0f); + RenderSettingsGamerEntitiesGeneric(MainView, &m_pClient->m_pEntities->m_Particles, g_Config.m_ClCustomParticles, "Particles", g_Config.m_ClGBrowser ? 6 : 5, 1.0f); } void CMenus::RenderSettingsGamerEntitiesCursor(CUIRect MainView) { - RenderSettingsGamerEntitiesGeneric(MainView, &m_pClient->m_pEntities->m_Cursors, g_Config.m_ClCustomCursor, "Cursors", 16, 1.0f); + RenderSettingsGamerEntitiesGeneric(MainView, &m_pClient->m_pEntities->m_Cursors, g_Config.m_ClCustomCursor, "Cursors", g_Config.m_ClGBrowser ? 20 : 16, 1.0f); } void CMenus::RenderSettingsGamerEntitiesEmoticons(CUIRect MainView) { - RenderSettingsGamerEntitiesGeneric(MainView, &m_pClient->m_pEntities->m_Emoticons, g_Config.m_ClCustomEmoticons, "Emoticons", 5, 1.0f); + RenderSettingsGamerEntitiesGeneric(MainView, &m_pClient->m_pEntities->m_Emoticons, g_Config.m_ClCustomEmoticons, "Emoticons", g_Config.m_ClGBrowser ? 6 : 5, 1.0f); } int CMenus::FontsScan(const char *pName, int IsDir, int DirType, void *pUser)