Revision: 4468 http://vexi.svn.sourceforge.net/vexi/?rev=4468&view=rev Author: clrg Date: 2012-12-21 10:13:37 +0000 (Fri, 21 Dec 2012) Log Message: ----------- Add configurable shift multiplier for mousewheel scrolling, default to 4
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 2012-12-13 04:10:41 UTC (rev 4467) +++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollbar.t 2012-12-21 10:13:37 UTC (rev 4468) @@ -14,7 +14,8 @@ <ui:box> // public variables - thisbox.lineheight = vexi.ui.font.height(font, fontsize, "dp");; + thisbox.lineheight = vexi.ui.font.height(font, fontsize, "dp"); + thisbox.mwheelshift = 4; thisbox.pageshift; thisbox.autohide; thisbox.enabled = true; @@ -137,7 +138,7 @@ /** vertical mousewheel movement */ const mwheelWrite = function(v) { - shift = lineheight * v; + shift = lineheight * v * mwheelshift; return; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn