fixed background up.
This commit is contained in:
@@ -1317,7 +1317,13 @@ void main ()
|
||||
(= (key-code :m) (:key options)))
|
||||
(-> entities
|
||||
(remove-cam-tweens)
|
||||
(assoc-in [:cam :zoom] utils/max-zoom #_(max utils/max-zoom (min utils/min-zoom (* (or start-zoom zoom) (/ initial-distance distance))))))
|
||||
(assoc-in [:tweens :cam-zoom]
|
||||
(tween/tween :cam-zoom screen
|
||||
[:cam :zoom]
|
||||
(get-in entities [:cam :zoom] 1.0)
|
||||
utils/max-zoom
|
||||
1.5
|
||||
:ease tween/ease-linear)))
|
||||
|
||||
:else
|
||||
nil))
|
||||
|
||||
Reference in New Issue
Block a user