This commit is contained in:
Ian Woods 2026-06-23 20:26:55 -07:00
parent 53f2a3e8a8
commit 8f394e1d92
2 changed files with 11 additions and 5 deletions

View file

@ -964,9 +964,12 @@ namespace TD.UI
private VisualElement CreateBuffMenuButton(Key hotkey)
{
// Key.None so HandleHotkeys doesn't register B here — BuilderInputController
// already fires ToggleBuffMenu on B globally. Registering it in both places
// causes a double-toggle on the same frame when the builder is selected.
return CreateActionButton(
costText: "Buffs",
hotkey: hotkey,
costText: "Buffs [B]",
hotkey: Key.None,
onClick: () => ToggleBuffMenu());
}