From 80013089a2a27e4f4f02602ca484ee1e7a720901 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Wed, 30 Aug 2023 14:06:04 -0500 Subject: [PATCH] GUI: colorize macro speed/delay button if used --- src/gui/insEdit.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/insEdit.cpp b/src/gui/insEdit.cpp index b63ff50e6..00cc903f2 100644 --- a/src/gui/insEdit.cpp +++ b/src/gui/insEdit.cpp @@ -1802,7 +1802,9 @@ void FurnaceGUI::drawMacroEdit(FurnaceGUIMacroDesc& i, int totalFit, float avail } #define BUTTON_TO_SET_PROPS(_x) \ + pushToggleColors(_x.macro->speed!=1 || _x.macro->delay); \ ImGui::Button(ICON_FA_ELLIPSIS_H "##IMacroSet"); \ + popToggleColors(); \ if (ImGui::IsItemHovered()) { \ ImGui::SetTooltip("Delay/Step Length"); \ } \