lib/rabbit/renderer/display/drawing-area-base.rb in rabbit-2.1.2 vs lib/rabbit/renderer/display/drawing-area-base.rb in rabbit-2.1.3
- old
+ new
@@ -303,15 +303,11 @@
true
end
def draw_slide(slide, simulation, &block)
super do |*args|
- # block.call(*args)
- # magnify {block.call(*args)} unless simulation
- ## the below codes are workaround for
- ## http://redmine.ruby-lang.org/issues/show/2600
- yield(*args)
- magnify {yield(*args)} unless simulation
+ block.call(*args)
+ magnify {block.call(*args)} unless simulation
end
end
def draw_current_slide_pixbuf(pixbuf)
width, height = pixbuf.width, pixbuf.height