GUI: no hover colors on mobile
This commit is contained in:
parent
152a95cb40
commit
525f512bb1
|
@ -3231,6 +3231,10 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
|
||||||
ImGui::ColorConvertHSVtoRGB(hue,sat*0.9,val*0.25,secondary.x,secondary.y,secondary.z);
|
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_WindowBg]=uiColors[GUI_COLOR_FRAME_BACKGROUND];
|
||||||
sty.Colors[ImGuiCol_ModalWindowDimBg]=uiColors[GUI_COLOR_MODAL_BACKDROP];
|
sty.Colors[ImGuiCol_ModalWindowDimBg]=uiColors[GUI_COLOR_MODAL_BACKDROP];
|
||||||
|
|
Loading…
Reference in a new issue