From 8abbadb18ca80a7f9550bae73c79648df1245930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=C3=A9o=20Delabre?= Date: Sun, 10 Apr 2016 01:30:09 +0200 Subject: [PATCH] Ajustement des vitesses de scroll --- src/editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor.cpp b/src/editor.cpp index e67a413..f3a2601 100644 --- a/src/editor.cpp +++ b/src/editor.cpp @@ -8,8 +8,8 @@ const sf::Color SELECT_RECT_COLOR = sf::Color(33, 33, 33, 40); const sf::Color SELECT_RECT_BORDER_COLOR = sf::Color(33, 33, 33, 127); -const float WHEEL_SCROLL_SPEED = -4.f; -const float POINTER_SCROLL_SPEED = 4.f; +const float WHEEL_SCROLL_SPEED = -8.f; +const float POINTER_SCROLL_SPEED = 8.f; const float POINTER_SCROLL_MAX_SPEED = 10.f; const float POINTER_SCROLL_STEP = 64.f; const float ASSUME_TITLEBAR = 32.f;