vendor/assets/src/medias/rubies/examples/animation.rb in atome-0.5.3.8.1 vs vendor/assets/src/medias/rubies/examples/animation.rb in atome-0.5.3.8.8
- old
+ new
@@ -3,15 +3,15 @@
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], children: [],
+ parents: [: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, children: [] })
+Atome.new(animation: { renderers: [:browser], id: :the_animation1, type: :animation })
aa = animation({
targets: %i[my_box the_circle],
begin: {
left_add: 0,
top: :self,