lib/renderers/html/spatial.rb in atome-0.5.7.3.9 vs lib/renderers/html/spatial.rb in atome-0.5.7.4.2
- old
+ new
@@ -24,18 +24,9 @@
new({ method: :top, type: :integer, renderer: :html, specific: :shadow }) do
# now we refresh if needed for dynamic refresh od affected atomes
affect(affect)
end
-# new({ method: :top, type: :integer, renderer: :html, specific: :text }) do |params|
-# unit = @unit[:left] || :px
-# html.style(:top, "#{params}#{unit}"
-# end
-#
-# new({ method: :bottom, type: :integer, renderer: :html, specific: :text }) do |params|
-# html.style(:bottom, "#{params}#{unit}")
-# end
-
new({ method: :left, type: :integer, specific: :color, renderer: :html })
new({ method: :left, type: :integer, renderer: :html, specific: :shadow }) do
# now we refresh if needed for dynamic refresh od affected atomes
affect(affect)