lib/renderers/html/hierarchy.rb in atome-0.5.5.7.7 vs lib/renderers/html/hierarchy.rb in atome-0.5.5.8.1

- old
+ new

@@ -16,10 +16,10 @@ green = shadow_found.green * 255 blue = shadow_found.blue * 255 alpha = shadow_found.alpha left = shadow_found.left top = shadow_found.top - blur = shadow_found.blur + blur = shadow_found.blur[:value] # new correct behavior all atome's value should now be get using :value,here to resolve conflict with blur and back blur inset = :inset if shadow_found.invert if shadow_found.option == :natural shadows_to_apply[:filter] << "drop-shadow(#{left}px #{top}px #{blur}px rgba(#{red}, #{green}, #{blue}, #{alpha}))" else shadows_to_apply[:boxShadow] << "#{left}px #{top}px #{blur}px rgba(#{red}, #{green}, #{blue}, #{alpha}) #{inset}"