lib/renderers/html/material.rb in atome-0.5.6.5.1 vs lib/renderers/html/material.rb in atome-0.5.6.5.4
- old
+ new
@@ -67,17 +67,9 @@
# blue = color_found.blue * 255
# alpha = color_found.alpha
#
# html.style(:border, "#{type} #{thickness}px rgba(#{red},#{green},#{blue},#{alpha})")
# end
-new({ method: :thickness, type: :integer, renderer: :html}) do |params|
- # now we refresh if needed for dynamic refresh od affected atomes
- # html.style(:border, "#{type} #{thickness}px rgba(#{red},#{green},#{blue},#{alpha})")
- affect(affect)
-end
+new({ method: :thickness, type: :integer, renderer: :html})
# end
-new({ method: :pattern, type: :integer, renderer: :html}) do |params|
- # now we refresh if needed for dynamic refresh od affected atomes
- # html.style(:border, "#{type} #{thickness}px rgba(#{red},#{green},#{blue},#{alpha})")
- affect(affect)
-end
+new({ method: :pattern, type: :integer, renderer: :html})
\ No newline at end of file