Fix [#21476] Mousewheel speed disrepancy
authorMatt Ebb <matt@mke3.net>
Wed, 10 Mar 2010 02:06:28 +0000 (02:06 +0000)
committerMatt Ebb <matt@mke3.net>
Wed, 10 Mar 2010 02:06:28 +0000 (02:06 +0000)
Tweaked mouse wheel sensitivity in scrolling 2d views

source/blender/editors/interface/view2d_ops.c

index 7476751fecdf64037bc4ab5af683cb863a98af94..1dc4f52a696e6d70f0aa2b4d0867860acdc5dccd 100644 (file)
@@ -416,7 +416,7 @@ static int view_scrolldown_exec(bContext *C, wmOperator *op)
        
        /* set RNA-Props */
        RNA_int_set(op->ptr, "deltax", 0);
-       RNA_int_set(op->ptr, "deltay", -20);
+       RNA_int_set(op->ptr, "deltay", -40);
        
        /* apply movement, then we're done */
        view_pan_apply(C, op);
@@ -463,7 +463,7 @@ static int view_scrollup_exec(bContext *C, wmOperator *op)
        
        /* set RNA-Props */
        RNA_int_set(op->ptr, "deltax", 0);
-       RNA_int_set(op->ptr, "deltay", 20);
+       RNA_int_set(op->ptr, "deltay", 40);
        
        /* apply movement, then we're done */
        view_pan_apply(C, op);