Fix bugs in equipment allocation using hotkeys

The behaviour is still not perfect, should be able to cycle through all
options by pressing one key. There is unnecessary memory of past state
going on here
This commit is contained in:
2025-01-01 14:48:17 +00:00
parent 7dd379d4bc
commit dae0e0591c
10 changed files with 289 additions and 313 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ makeButton
-> Button
makeButton col eff = defaultButton
{ _btPict = DefaultDrawButton col
, _btEvent = ButtonPress BtNoLabel ButtonDoNothing click1S eff
, _btEvent = ButtonPress BtInactive ButtonDoNothing click1S eff
, _btText = "Button"
, _btState = BtOff
}