From 3727deee43dc9ae44135134ce48804496304b157 Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 23 Jan 2011 17:00:18 +0100 Subject: increased mouse scroll value from 1 to 3 in the other listboxes too --- src/game/client/components/menus_demo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/client/components/menus_demo.cpp b/src/game/client/components/menus_demo.cpp index e6ff92c6..9ffe7aa6 100644 --- a/src/game/client/components/menus_demo.cpp +++ b/src/game/client/components/menus_demo.cpp @@ -281,9 +281,9 @@ void CMenus::UiDoListboxStart(void *pId, const CUIRect *pRect, float RowHeight, if(Num > 0) { if(Input()->KeyPresses(KEY_MOUSE_WHEEL_UP)) - gs_ListBoxScrollValue -= 1.0f/Num; + gs_ListBoxScrollValue -= 3.0f/Num; if(Input()->KeyPresses(KEY_MOUSE_WHEEL_DOWN)) - gs_ListBoxScrollValue += 1.0f/Num; + gs_ListBoxScrollValue += 3.0f/Num; if(gs_ListBoxScrollValue < 0.0f) gs_ListBoxScrollValue = 0.0f; if(gs_ListBoxScrollValue > 1.0f) gs_ListBoxScrollValue = 1.0f; -- cgit 1.4.1