summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-14 15:31:34 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-14 15:31:34 +0200
commitba859dc3b5510083ab95566a8c5a30934b402b53 (patch)
treed5d162ad9a3216baf459780f42342f8a03e4f3d8 /src/core
parentMerge branch 'miami' into lcs (diff)
downloadre3-ba859dc3b5510083ab95566a8c5a30934b402b53.tar
re3-ba859dc3b5510083ab95566a8c5a30934b402b53.tar.gz
re3-ba859dc3b5510083ab95566a8c5a30934b402b53.tar.bz2
re3-ba859dc3b5510083ab95566a8c5a30934b402b53.tar.lz
re3-ba859dc3b5510083ab95566a8c5a30934b402b53.tar.xz
re3-ba859dc3b5510083ab95566a8c5a30934b402b53.tar.zst
re3-ba859dc3b5510083ab95566a8c5a30934b402b53.zip
Diffstat (limited to 'src/core')
-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 f30611fa..98ac2bd5 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -1563,7 +1563,7 @@ CMenuManager::DrawStandardMenus(bool activeScreen)
int lastActiveBarX;
switch (aScreens[m_nCurrScreen].m_aEntries[i].m_Action) {
case MENUACTION_BRIGHTNESS:
- ProcessSlider((float)(m_PrefsBrightness - MIN_BRIGHTNESS) / (MAX_BRIGHTNESS - MIN_BRIGHTNESS), 70.0f, HOVEROPTION_INCREASE_BRIGHTNESS, HOVEROPTION_DECREASE_BRIGHTNESS, SCREEN_WIDTH, true);
+ ProcessSlider((float)(m_PrefsBrightness - MIN_BRIGHTNESS) / (MAX_BRIGHTNESS - MIN_BRIGHTNESS), SLIDER_Y(70.0f), HOVEROPTION_INCREASE_BRIGHTNESS, HOVEROPTION_DECREASE_BRIGHTNESS, SCREEN_WIDTH, true);
break;
case MENUACTION_DRAWDIST:
ProcessSlider((m_PrefsLOD - 0.925f) / 0.875f, SLIDER_Y(99.0f), HOVEROPTION_INCREASE_DRAWDIST, HOVEROPTION_DECREASE_DRAWDIST, SCREEN_WIDTH, true);