summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-07 15:33:21 +0300
committerSergeanur <s.anureev@yandex.ua>2019-10-07 15:33:21 +0300
commit9fa799522ee90ad21ff3bd2e26caf4e28c8acce4 (patch)
tree1541276f9e80a1605336ec42694df5dafa7d5a0b
parent1df8e7976fd474225060cb7b4ac34bac6ef29906 (diff)
Fixing typo for cursor coords
-rw-r--r--src/core/Frontend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp
index 30b80634..0be25e8a 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -997,7 +997,7 @@ void CMenuManager::DrawFrontEndNormal()
RwRenderStateSet(rwRENDERSTATEDESTBLEND, (void*)rwBLENDINVSRCALPHA);
RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, (void*)TRUE);
- CRect mouse(0.0f, 0.0f, SCREEN_SCALE_X(75.0f), SCREEN_SCALE_X(75.0f));
+ CRect mouse(0.0f, 0.0f, SCREEN_SCALE_X(75.0f), SCREEN_SCALE_Y(75.0f));
mouse.Translate(m_nMousePosX, m_nMousePosY);
CRect shad = mouse;
shad.Translate(SCREEN_SCALE_X(10.0f), SCREEN_SCALE_Y(3.0f));