Revision: 4702
          http://sourceforge.net/p/vexi/code/4702
Author:   clrg
Date:     2014-06-04 19:03:34 +0000 (Wed, 04 Jun 2014)
Log Message:
-----------
More intuitive behaviour for nested scrollbars/scrollpanes: don't consume 
HScroll/VScroll event if scrollbar is not active

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

Modified: 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollbar.t
===================================================================
--- 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollbar.t   
    2014-06-01 20:29:14 UTC (rev 4701)
+++ 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollbar.t   
    2014-06-04 19:03:34 UTC (rev 4702)
@@ -141,8 +141,11 @@
         
         /** vertical mousewheel movement */
         const mwheelWrite = function(v) {
-            shift = lineheight * v * mwheelshift;
-            return;
+            if (display and (track[dim] > thumb[dim])) {
+                   shift = lineheight * v * mwheelshift;
+                   return;
+            }
+            cascade = v;
         }
         
         ////////

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


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to