lib/rabbit/renderer/display/magnifier.rb in rabbit-2.2.1 vs lib/rabbit/renderer/display/magnifier.rb in rabbit-3.0.0

- old
+ new

@@ -73,12 +73,12 @@ end add_scroll_hook do |event| if magnifying? case event.direction - when Gdk::EventScroll::Direction::UP + when Gdk::ScrollDirection::UP @magnifier_ratio = [0.5, @magnifier_ratio - 0.1].max - when Gdk::EventScroll::Direction::DOWN + when Gdk::ScrollDirection::DOWN @magnifier_ratio = [3, @magnifier_ratio + 0.1].min end queue_draw true else