From 525f512bb162e38cddd921033385b20b6f06b61b Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 1 Dec 2022 18:34:08 -0500 Subject: [PATCH] GUI: no hover colors on mobile --- src/gui/settings.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/settings.cpp b/src/gui/settings.cpp index 90ce5bfff..5fb8eda16 100644 --- a/src/gui/settings.cpp +++ b/src/gui/settings.cpp @@ -3231,6 +3231,10 @@ void FurnaceGUI::applyUISettings(bool updateFonts) { ImGui::ColorConvertHSVtoRGB(hue,sat*0.9,val*0.25,secondary.x,secondary.y,secondary.z); } + if (mobileUI) { // disable all hovered colors + primaryHover=primary; + secondaryHover=secondary; + } sty.Colors[ImGuiCol_WindowBg]=uiColors[GUI_COLOR_FRAME_BACKGROUND]; sty.Colors[ImGuiCol_ModalWindowDimBg]=uiColors[GUI_COLOR_MODAL_BACKDROP];