GUI: colorize macro speed/delay button if used

This commit is contained in:
tildearrow 2023-08-30 14:06:04 -05:00
parent 5a688c58cb
commit 80013089a2
1 changed files with 2 additions and 0 deletions

View File

@ -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"); \
} \