From 5fdfe3ceda69f55dd8c5efce65493d6106ff6215 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 10 Apr 2018 11:10:16 +0100 Subject: [PATCH] Clarified the documentation of MouseEvent::mouseWasDraggedSinceMouseDown() --- modules/juce_gui_basics/mouse/juce_MouseEvent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_gui_basics/mouse/juce_MouseEvent.h b/modules/juce_gui_basics/mouse/juce_MouseEvent.h index 59a9b7ae01..8fe3220f9e 100644 --- a/modules/juce_gui_basics/mouse/juce_MouseEvent.h +++ b/modules/juce_gui_basics/mouse/juce_MouseEvent.h @@ -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