ImGui: update default server browser width

As of the recent layout changes, buttons and widgets looks the sharpest on this width; default to this width instead.
This commit is contained in:
Kawe Mazidjatari 2024-04-17 20:53:50 +02:00
parent e7d3e8d23d
commit afb53b899c

View File

@ -71,7 +71,7 @@ CBrowser::~CBrowser(void)
//-----------------------------------------------------------------------------
bool CBrowser::Init(void)
{
SetStyleVar(928.f, 524.f, -500.f, 50.f);
SetStyleVar(927.f, 524.f, -500.f, 50.f);
bool ret = LoadTextureBuffer(reinterpret_cast<unsigned char*>(m_lockedIconDataResource.m_pData), int(m_lockedIconDataResource.m_nSize),
&m_lockedIconShaderResource, &m_lockedIconDataResource.m_nWidth, &m_lockedIconDataResource.m_nHeight);