mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Don't trigger a fake mouse move from Component::sendFakeMouseMove() if the component passes through all mouse events
This commit is contained in:
parent
3754cadf55
commit
891d86fe6b
1 changed files with 3 additions and 0 deletions
|
|
@ -2595,6 +2595,9 @@ void Component::internalMagnifyGesture (MouseInputSource source, Point<float> re
|
|||
|
||||
void Component::sendFakeMouseMove() const
|
||||
{
|
||||
if (flags.ignoresMouseClicksFlag && ! flags.allowChildMouseClicksFlag)
|
||||
return;
|
||||
|
||||
auto mainMouse = Desktop::getInstance().getMainMouseSource();
|
||||
|
||||
if (! mainMouse.isDragging())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue