mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Before this change, when starting a mouse drag from a nested view such as a webview, JUCE was unable to automatically determine which component is associated with the drag. Instead of relying on automatic detection, users can pass the "sourceComponent" argument when initiating a drag to specify the parent view that should receive associated drag events. However, previously the sourceComponent was only used to find the view associated with the mouse-down, but not the mouse-up. Automatic detection was always used for the mouse-up, but this could fail in the case of a drag started from a nested view. Now, the drag event source will store a weak reference to the source component provided by the user, and use the same component for both mouse-down and mouse-up events. |
||
|---|---|---|
| .. | ||
| juce_analytics | ||
| juce_animation | ||
| juce_audio_basics | ||
| juce_audio_devices | ||
| juce_audio_formats | ||
| juce_audio_plugin_client | ||
| juce_audio_processors | ||
| juce_audio_utils | ||
| juce_box2d | ||
| juce_core | ||
| juce_cryptography | ||
| juce_data_structures | ||
| juce_dsp | ||
| juce_events | ||
| juce_graphics | ||
| juce_gui_basics | ||
| juce_gui_extra | ||
| juce_javascript | ||
| juce_midi_ci | ||
| juce_opengl | ||
| juce_osc | ||
| juce_product_unlocking | ||
| juce_video | ||
| CMakeLists.txt | ||