Revision: 4691 http://sourceforge.net/p/vexi/code/4691 Author: mkpg2 Date: 2014-04-27 22:39:02 +0000 (Sun, 27 Apr 2014) Log Message: ----------- Fix scrollbar. Return if size has not changed. - resizing moves the scrollpane, caused an issue in a virtual scroll area as it reset position unexpectedly.
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-04-24 06:20:35 UTC (rev 4690) +++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollbar.t 2014-04-27 22:39:02 UTC (rev 4691) @@ -123,6 +123,9 @@ /** viewport or varea resized */ const viewportResize = function(v) { + var v0 = trapee[trapname]; + if(v==v0) return; + cascade = v; if (percentset) return; // avoid resetting percent This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn