Commit 5434f208 by Daniel Dahan

updated statement to use a more clear approach

parent 17068f24
...@@ -121,7 +121,7 @@ public struct Pulse { ...@@ -121,7 +121,7 @@ public struct Pulse {
let h = view.bounds.height let h = view.bounds.height
Motion.disable { [ Motion.disable { [
n = .center == animation ? w < h ? w : h : w < h ? h : w, n = .center == animation ? min(w, h) : max(w, h),
bounds = layer.bounds, bounds = layer.bounds,
animation = animation, animation = animation,
color = color, color = color,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment