more pushdestcolor
This commit is contained in:
parent
f0bcb1c06a
commit
3c38a79801
3 changed files with 8 additions and 4 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue