mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
When two monitors are available, both with different scale factors, then the drag-image may 'detach' from the mouse while the image's top-left coordinate was on one display, and the mouse cursor was on the other display. This happened because, on Windows, the mouse cursor moves continuously in physical (not logical!) space. In other words, the mouse may not move continuously in logical space, and the discontinuity becomes visible when components are positioned relative to the mouse in logical space. In order to display consistently, the top-left position of the image must be set relative to the physical position of the mouse. |
||
|---|---|---|
| .. | ||
| juce_ComponentDragger.cpp | ||
| juce_ComponentDragger.h | ||
| juce_DragAndDropContainer.cpp | ||
| juce_DragAndDropContainer.h | ||
| juce_DragAndDropTarget.h | ||
| juce_FileDragAndDropTarget.h | ||
| juce_LassoComponent.h | ||
| juce_MouseCursor.cpp | ||
| juce_MouseCursor.h | ||
| juce_MouseEvent.cpp | ||
| juce_MouseEvent.h | ||
| juce_MouseInactivityDetector.cpp | ||
| juce_MouseInactivityDetector.h | ||
| juce_MouseInputSource.cpp | ||
| juce_MouseInputSource.h | ||
| juce_MouseListener.cpp | ||
| juce_MouseListener.h | ||
| juce_SelectedItemSet.h | ||
| juce_TextDragAndDropTarget.h | ||
| juce_TooltipClient.h | ||