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

@ -102,10 +102,12 @@ void FurnaceGUI::drawSysManager() {
}
ImGui::SameLine();
ImGui::BeginDisabled(e->song.systemLen<=1);
if (ImGui::Button(ICON_FA_TIMES "##SysRemove")) {
pushDestColor();
if (ImGui::Button(ICON_FA_MINUS "##SysRemove")) {
sysToDelete=i;
showWarning("Are you sure you want to remove this chip?",GUI_WARN_SYSTEM_DEL);
}
popDestColor();
if (ImGui::IsItemHovered()) {
ImGui::SetTooltip("Remove");
}