From 5d3330377e72fe816d539a8c95a8cce17351aa3e Mon Sep 17 00:00:00 2001 From: Looki2000 Date: Thu, 23 Feb 2023 15:37:24 +0100 Subject: [PATCH] touch screen gui: moved rare controls bar a little bit (these 3 dots on the left) --- games/SussyCraft | 2 +- src/gui/touchscreengui.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/games/SussyCraft b/games/SussyCraft index 0a15121..adefaaf 160000 --- a/games/SussyCraft +++ b/games/SussyCraft @@ -1 +1 @@ -Subproject commit 0a15121fbfbcbdbe1bb34c6abbd0c04214929c0d +Subproject commit adefaaf592d9479cc3870c270ef9d415c305ee5a diff --git a/src/gui/touchscreengui.cpp b/src/gui/touchscreengui.cpp index 60fe92c..2eefca2 100644 --- a/src/gui/touchscreengui.cpp +++ b/src/gui/touchscreengui.cpp @@ -552,10 +552,10 @@ void TouchScreenGUI::init(ISimpleTextureSource *tsrc) m_rarecontrolsbar.init(m_texturesource, "rare_controls.png", rare_controls_starter_id, - v2s32(1.25 * button_size, + v2s32(0.75 * button_size, m_screensize.Y - ((RARE_CONTROLS_BAR_Y_OFFSET + 1.0) * button_size) + (0.5 * button_size)), - v2s32(1.75 * button_size, + v2s32(1.25 * button_size, m_screensize.Y - (RARE_CONTROLS_BAR_Y_OFFSET * button_size) + (0.5 * button_size)), AHBB_Dir_Left_Right, 2.0);