Work towards unifying all in game input
This commit is contained in:
@@ -194,7 +194,7 @@ rotateCamera cfig w
|
||||
| keydown SDL.ScancodeE = over cWorld (rotateCameraBy (-0.025)) w
|
||||
| otherwise = ifConfigWallRotate cfig w
|
||||
where
|
||||
keydown scode = scode `M.member` _pressedKeys (_input w) && not (inputFocus w)
|
||||
keydown scode = scode `M.member` _pressedKeys (_input w) && not (inInputFocus w)
|
||||
|
||||
zoomFromItem ::
|
||||
ItZoom ->
|
||||
|
||||
Reference in New Issue
Block a user