Skip to content

Commit abffca6

Browse files
authored
Merge pull request #3 from Bamcane/spectator-fix
Fix the position of 'Free-View' in the spectator menu
2 parents 1e40b8a + 44fc415 commit abffca6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/game/client/components/spectator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ void CSpectator::OnRender()
217217
if(m_pClient->m_LocalClientID == -1 || m_pClient->m_aClients[m_pClient->m_LocalClientID].m_Team == TEAM_SPECTATORS)
218218
{
219219
CUIRect FreeViewRect;
220-
FreeViewRect.x = CenterOffset.x - 280.0f;
220+
FreeViewRect.x = CenterOffset.x - 280.0f * ScaleX;
221221
FreeViewRect.y = CenterOffset.y - 280.0f;
222222
FreeViewRect.w = 270.0f;
223223
FreeViewRect.h = 60.0f;

0 commit comments

Comments
 (0)