1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules/juce_gui_basics/mouse
reuk fc76e936d3
DragImageComponent: Avoid case where image may detach from mouse when dragging between screens
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.
2024-12-02 17:20:42 +00:00
..
juce_ComponentDragger.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_ComponentDragger.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_DragAndDropContainer.cpp DragImageComponent: Avoid case where image may detach from mouse when dragging between screens 2024-12-02 17:20:42 +00:00
juce_DragAndDropContainer.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_DragAndDropTarget.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_FileDragAndDropTarget.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_LassoComponent.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_MouseCursor.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_MouseCursor.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_MouseEvent.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_MouseEvent.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_MouseInactivityDetector.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_MouseInactivityDetector.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_MouseInputSource.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_MouseInputSource.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_MouseListener.cpp Update licensing information 2024-04-16 11:39:35 +01:00
juce_MouseListener.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_SelectedItemSet.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_TextDragAndDropTarget.h Update licensing information 2024-04-16 11:39:35 +01:00
juce_TooltipClient.h Update licensing information 2024-04-16 11:39:35 +01:00