Cleanup and reorganise
This commit is contained in:
@@ -60,10 +60,10 @@ updateScopeZoom w
|
||||
= case w ^? creatures . ix 0 . crInv . ix (_crInvSel (_creatures w IM.! 0))
|
||||
. itAttachment . scopeZoomChange of
|
||||
Just x
|
||||
| x > 9 -> zoomInLongGun $ zoomInLongGun $ w
|
||||
| x > 0 -> zoomInLongGun $ w
|
||||
| x < -9 -> zoomOutLongGun $ zoomOutLongGun $ w
|
||||
| x < 0 -> zoomOutLongGun $ w
|
||||
| x > 9 -> zoomInLongGun $ zoomInLongGun w
|
||||
| x > 0 -> zoomInLongGun w
|
||||
| x < -9 -> zoomOutLongGun $ zoomOutLongGun w
|
||||
| x < 0 -> zoomOutLongGun w
|
||||
| otherwise -> w
|
||||
_ -> w
|
||||
| otherwise = w & creatures . ix 0 . crInv . ix (_crInvSel (_creatures w IM.! 0))
|
||||
|
||||
Reference in New Issue
Block a user