Fix switch detection, cleanup
This commit is contained in:
@@ -8,7 +8,7 @@ import Dodge.WorldEffect
|
||||
|
||||
doButtonEvent :: ButtonEvent -> Button -> World -> World
|
||||
doButtonEvent be = case be of
|
||||
ButtonDoNothing -> const id
|
||||
-- ButtonDoNothing -> const id
|
||||
ButtonPress True _ _ -> const id
|
||||
ButtonPress False f _ -> \b ->
|
||||
doWdWd f
|
||||
|
||||
Reference in New Issue
Block a user