Fix switch detection, cleanup
This commit is contained in:
@@ -232,7 +232,6 @@ closeButtonToSelectionItem w i = do
|
||||
|
||||
btText :: Button -> String
|
||||
btText bt = case _btEvent bt of
|
||||
ButtonDoNothing -> "UNPRESSABLE BUTTON"
|
||||
ButtonPress {} -> "BUTTON"
|
||||
ButtonSwitch {_btOn = t} -> case t of
|
||||
True -> "SWITCH\\"
|
||||
|
||||
Reference in New Issue
Block a user