Revision: 4781
          http://sourceforge.net/p/vexi/code/4781
Author:   mkpg2
Date:     2015-04-09 01:47:25 +0000 (Thu, 09 Apr 2015)
Log Message:
-----------
Fix scrollbar not syncing listeners when using button.

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   
    2015-04-04 20:40:20 UTC (rev 4780)
+++ 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollbar.t   
    2015-04-09 01:47:25 UTC (rev 4781)
@@ -59,12 +59,15 @@
         
         /** syncs all listeners with viewport position */
         const syncAllListeners = function(v) {
-            if (motion) {
+               // BROKEN - disabling this, it prevents button from working 
(until thumb has been moved)
+               // Once motion is set it doesn't seem to get unset in normal 
use, so it seems like
+               // a useless check.
+//            if (motion) {
                 for (var key in listeners) {
                     if (v == key) continue;
                     syncListener(key);
                 }
-            }
+//            }
         }
         
         /** sync thumb with viewport size and position */
@@ -258,6 +261,7 @@
             if (uiport) {
                 uiport[mousewheel] --= mwheelWrite;
             }
+            trace([v,mousewheel]);
             if (v) {
                 v[mousewheel] ++= mwheelWrite;
             }

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


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to