Skip to content

Commit 7b6825e

Browse files
committed
just use center over translate
1 parent f4051a5 commit 7b6825e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/shimmers/sketches/ballistics.cljs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,7 @@
286286
health-w (* 1.33 s)]
287287
(into
288288
[(-> (rect/rect 0 0 (* tm/PHI s) s)
289-
g/center
290-
(g/translate pos)
289+
(g/center pos)
291290
(assoc :fill color))
292291
(let [barrel-width (* 0.33 s)]
293292
(-> (rect/rect 0 (* -0.5 barrel-width) (* 1.25 s) barrel-width)

0 commit comments

Comments
 (0)