vendor/assets/src/medias/rubies/examples/animation.rb in atome-0.5.3.8.8 vs vendor/assets/src/medias/rubies/examples/animation.rb in atome-0.5.4.0.9
- old
+ new
@@ -3,10 +3,10 @@
bb = text({ id: :the_ref, width: 369, data: "touch me!" })
bb.color(:orange)
box({ id: :my_box, drag: true })
c = circle({ id: :the_circle, left: 222, drag: { move: true, inertia: true, lock: :start } })
c.shadow({ renderers: [:browser], id: :shadow2, type: :shadow,
- parents: [:the_circle],
+ attach: [:the_circle],
left: 3, top: 9, blur: 19,
red: 0, green: 0, blue: 0, alpha: 1
})
Atome.new(animation: { renderers: [:browser], id: :the_animation1, type: :animation })