Browse Source

Clarified the documentation of MouseEvent::mouseWasDraggedSinceMouseDown()

tags/2021-05-28
ed 7 years ago
parent
commit
5fdfe3ceda
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_gui_basics/mouse/juce_MouseEvent.h

+ 2
- 2
modules/juce_gui_basics/mouse/juce_MouseEvent.h View File

@@ -236,8 +236,8 @@ public:
This is only meaningful if called in either a mouseUp() or mouseDrag() method.
It will return true if the user has dragged the mouse more than a few pixels
from the place where the mouse-down occurred.
It will return true if the user has dragged the mouse more than a few pixels from the place
where the mouse-down occurred or the mouse has been held down for a significant amount of time.
Once they have dragged it far enough for this method to return true, it will continue
to return true until the mouse-up, even if they move the mouse back to the same


Loading…
Cancel
Save