vendor/assets/src/medias/rubies/examples/animation.rb in atome-0.5.3.7.3 vs vendor/assets/src/medias/rubies/examples/animation.rb in atome-0.5.3.7.8
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
-bb = box({ id: :the_ref, width: 369 })
-bb.color(:red)
+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: [],
left: 3, top: 9, blur: 19,