プロジェクト

全般

プロフィール

バグ #270 » patch-core_mui_cairo_timeline.rb

Izumi Tsutsui, 2011-08-14 21:04

 
1
$NetBSD$
2

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

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