how dumb, imgui has a repeat feature for shortcuts, removed a lot of nonsense

This commit is contained in:
shweet committed 2025-11-19 22:31:28 -05:00
1 parent ca719d7dfb
commit ab65eb7c58
6 files changed
+25 -76

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ namespace anm2ed::imgui
if (isSelected) ImGui::PushStyleColor(ImGuiCol_Button, ImGui::GetStyleColorVec4(ImGuiCol_ButtonActive));
if (shortcut(manager.chords[info.shortcut], shortcut::GLOBAL_SET, true)) tool_use((tool::Type)i);
if (shortcut(manager.chords[info.shortcut], shortcut::GLOBAL)) tool_use((tool::Type)i);
if (i == tool::COLOR)
{