Revision: 4492
          http://vexi.svn.sourceforge.net/vexi/?rev=4492&view=rev
Author:   clrg
Date:     2013-03-15 03:11:03 +0000 (Fri, 15 Mar 2013)
Log Message:
-----------
Fix scrollbar regression - arrow buttons not working.

Modified Paths:
--------------
    trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollbar.t

Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollbar.t
===================================================================
--- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollbar.t        
2013-03-14 02:47:29 UTC (rev 4491)
+++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollbar.t        
2013-03-15 03:11:03 UTC (rev 4492)
@@ -262,7 +262,7 @@
         // theme trap assignments
         
         /** move up a line */
-        const backAction = function(a) { shift = -lineshift; cascade = a; }
+        const backAction = function(a) { shift = -(mwheelshift * lineheight); 
cascade = a; }
         
         /** set up back button */
         th_back ++= function(v) {
@@ -272,7 +272,7 @@
         }
         
         /** move down a line */
-        const nextAction = function(a) { shift = lineshift; cascade = a; }
+        const nextAction = function(a) { shift = mwheelshift * lineheight; 
cascade = a; }
         
         /** set up next button */
         th_next ++= function(v) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to