more pushdestcolor

This commit is contained in:
Eknous-P 2023-08-26 15:37:28 +04:00
parent f0bcb1c06a
commit 3c38a79801
3 changed files with 8 additions and 4 deletions

View file

@ -115,10 +115,12 @@ void FurnaceGUI::drawOrderButtons() {
}
NEXT_BUTTON;
pushDestColor();
if (ImGui::Button(ICON_FA_MINUS)) { handleUnimportant
// remove this order row
doAction(GUI_ACTION_ORDERS_REMOVE);
}
popDestColor();
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Remove order");
}