Refactor window size, update selection cursor on new screen
This commit is contained in:
+1
-1
@@ -281,7 +281,7 @@ zoneClouds :: World -> World
|
||||
zoneClouds w = w & clZoning .~ foldl' (flip zoneCloud) mempty (w ^. cWorld . lWorld . clouds)
|
||||
|
||||
updateWorldSelect' :: World -> World
|
||||
updateWorldSelect' w = over input (updateWorldSelect (w ^. cWorld . camPos)) w
|
||||
updateWorldSelect' w = over input (updateWorldSelect (w ^. cWorld . cwCamPos)) w
|
||||
|
||||
updateWorldSelect :: CamPos -> Input -> Input
|
||||
updateWorldSelect cam inp = f . g $ case (inp ^? mouseButtons . ix ButtonLeft, inp ^? mouseButtons . ix ButtonRight) of
|
||||
|
||||
Reference in New Issue
Block a user