lib/ios/sugarcube-repl/repl.rb in sugarcube-2.0.0 vs lib/ios/sugarcube-repl/repl.rb in sugarcube-2.0.1
- old
+ new
@@ -57,10 +57,9 @@
end
alias h shadow
def blink(color=nil)
return unless check_sugarcube_view
- blinking_view ||= blink_view(color)
blinking_view = UIView.alloc.initWithFrame([[0,0], @sugarcube_view.frame.size])
color = color.uicolor if color.respond_to?(:uicolor)
blinking_view.backgroundColor = color
blinking_view.alpha = 0