mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-18 11:42:47 +00:00
Add comment in she::Event::preciseWheel()
This commit is contained in:
parent
81fcbdab3d
commit
16ae88b6d9
@ -69,7 +69,12 @@ namespace she {
|
|||||||
int repeat() const { return m_repeat; }
|
int repeat() const { return m_repeat; }
|
||||||
gfx::Point position() const { return m_position; }
|
gfx::Point position() const { return m_position; }
|
||||||
gfx::Point wheelDelta() const { return m_wheelDelta; }
|
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; }
|
bool preciseWheel() const { return m_preciseWheel; }
|
||||||
|
|
||||||
MouseButton button() const { return m_button; }
|
MouseButton button() const { return m_button; }
|
||||||
double magnification() const { return m_magnification; }
|
double magnification() const { return m_magnification; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user