]> gitweb.factorcode.org Git - factor.git/commitdiff
ui.backend.windows: double the default vertical scrolling speed
authorAlexander Ilin <alex.ilin@protonmail.com>
Sun, 25 Feb 2024 16:46:15 +0000 (17:46 +0100)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 25 Feb 2024 17:24:44 +0000 (09:24 -0800)
basis/ui/backend/windows/windows.factor

index 4057e9899a2a8cffc501e9f924502c113b7a7548..530b3802b0766056f0679aa1748c5eb4ad8012fd 100644 (file)
@@ -440,7 +440,7 @@ SYMBOL: nc-buttons
     [ hi-word 80 /f ] [ lo-word ] bi MK_SHIFT mask? [ 10 * ] when ;
 
 : mouse-scroll ( wParam -- direction )
-    scroll-distance neg 0 swap 2array ;
+    scroll-distance -2 * 0 swap 2array ;
 
 : mouse-horizontal-scroll ( wParam -- direction )
     scroll-distance 0 2array ;