Improve scroll selection/inventory modification
This commit is contained in:
@@ -203,7 +203,7 @@ viewDistanceFromItems _ = 1
|
||||
|
||||
rotateCamera :: Config -> World -> World
|
||||
rotateCamera cfig w
|
||||
| MouseGameRotate <- w ^. input . mouseContext
|
||||
| MouseGameRotate {} <- w ^. input . mouseContext
|
||||
, Just rotation <-
|
||||
angleBetween (w ^. input . mousePos)
|
||||
<$> (w ^. input . heldPos . at SDL.ButtonRight) =
|
||||
|
||||
Reference in New Issue
Block a user