Revision: 4858
          http://sourceforge.net/p/vexi/code/4858
Author:   clrg
Date:     2016-06-14 12:00:58 +0000 (Tue, 14 Jun 2016)
Log Message:
-----------
Fix slider initializing with handles off the edge of the track.

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

Modified: 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/slider.t
===================================================================
--- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/slider.t  
2016-05-18 22:27:02 UTC (rev 4857)
+++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/slider.t  
2016-06-14 12:00:58 UTC (rev 4858)
@@ -50,6 +50,7 @@
         step       ++= static.stepWrite;
         value      ++= static.valueRead;
         value      ++= static.valueWrite;
+        th_handle  ++= static.handleWrite;
         th_track   ++= static.trackWrite;
         
     </ui:box>
@@ -87,6 +88,12 @@
     }
     
     /** mak sure the handle is kept at the write track position */
+    static.handleWrite = function(v) {
+        cascade = v;
+        trapee.th_handle.width ++= trapee.syncHandle;
+    }
+    
+    /** mak sure the handle is kept at the write track position */
     static.trackWrite = function(v) {
         cascade = v;
         trapee.th_track.width ++= trapee.syncHandle;

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


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to