vendor/assets/src/medias/rubies/examples/touch.rb in atome-0.5.3.7.3 vs vendor/assets/src/medias/rubies/examples/touch.rb in atome-0.5.3.7.8
- old
+ new
@@ -1,11 +1,11 @@
# frozen_string_literal: true
separator=120
b=box({ left: separator, id: :test_box })
-c=box({ left: b.left.value+separator })
-d=box({ left: c.left.value+separator })
-e=box({ left: d.left.value+separator })
+c=box({ left: b.left+separator })
+d=box({ left: c.left+separator })
+e=box({ left: d.left+separator })
b.touch(:down) do
b.color(:red)
c.color(:red)
d.color(:red)
\ No newline at end of file