This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 16ae88b6d9a7488a2fe6458936b73364affb5fca
Author: David Capello <[email protected]>
Date:   Mon Apr 11 13:04:44 2016 -0300

    Add comment in she::Event::preciseWheel()
---
 src/she/event.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/she/event.h b/src/she/event.h
index b894a2a..a41ee6d 100644
--- a/src/she/event.h
+++ b/src/she/event.h
@@ -69,7 +69,12 @@ namespace she {
     int repeat() const { return m_repeat; }
     gfx::Point position() const { return m_position; }
     gfx::Point wheelDelta() const { return m_wheelDelta; }
+
+    // We suppose that if we are receiving precise scrolling deltas,
+    // it means that the user is using a touch-like surface (trackpad,
+    // magic mouse scrolling, touch wacom tablet, etc.)
     bool preciseWheel() const { return m_preciseWheel; }
+
     MouseButton button() const { return m_button; }
     double magnification() const { return m_magnification; }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/aseprite.git

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to