プロジェクト

全般

プロフィール

バグ #270 » patch-core_mui_cairo_timeline.rb

Izumi Tsutsui, 2011-08-14 21:04

 
$NetBSD$

Workaround mikutter redmine bug #270:
autoscroll is incorrectly invoked when TL is scrolled down from the top

--- core/mui/cairo_timeline.rb.orig 2011-07-31 07:42:55.000000000 +0000
+++ core/mui/cairo_timeline.rb
@@ -91,6 +91,7 @@
when Gdk::EventScroll::UP
this.vadjustment.value -= this.vadjustment.step_increment
when Gdk::EventScroll::DOWN
+ @scroll_to_zero_lator = false if this.vadjustment.value == 0
this.vadjustment.value += this.vadjustment.step_increment end
false }
@tl.ssc(:expose_event){
    (1-1/1)