lib/rubyvis/scene/svg_dot.rb in rubyvis-0.4.0 vs lib/rubyvis/scene/svg_dot.rb in rubyvis-0.4.1
- old
+ new
@@ -37,10 +37,10 @@
svg = {
"shape-rendering"=> s.antialias ? nil : "crispEdges",
"pointer-events"=> s.events,
"cursor"=> s.cursor,
"fill"=> fill.color,
- "fill-opacity"=> (fill.opacity==0) ? nil :fill.opacity,
+ "fill-opacity"=> (fill.opacity==0) ? nil : fill.opacity,
"stroke"=> stroke.color,
"stroke-opacity"=> (stroke.opacity==0) ? nil : stroke.opacity,
"stroke-width"=> (stroke.opacity!=0) ? s.line_width / self.scale : nil
}