lib/ios/sugarcube-image/uiimage.rb in sugarcube-3.3.1 vs lib/ios/sugarcube-image/uiimage.rb in sugarcube-3.3.2

- old
+ new

@@ -347,10 +347,10 @@ end # this is actually the interesting part: new_image = self.canvas(size: new_size) do |context| if background - background = background.uicolor + background = background.uicolor unless background.is_a?(UIColor) background.setFill CGContextAddRect(context, [[0, 0], new_size]) CGContextDrawPath(context, KCGPathFill) end