lib/shoes/swt/rect_painter.rb in shoes-swt-4.0.0.pre10 vs lib/shoes/swt/rect_painter.rb in shoes-swt-4.0.0.pre11

- old
+ new

@@ -29,14 +29,14 @@ def inset_fill? rounded? && strokewidth? end def rounded? - (@obj.corners || 0) > 0 + (@obj.corners || 0).positive? end def strokewidth? - (@obj.dsl.style[:strokewidth] || 0) > 0 + (@obj.dsl.style[:strokewidth] || 0).positive? end end end end