mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-18 00:54:19 +00:00
Windows: Small tweak for previous commit
This commit is contained in:
parent
9d294970d7
commit
0edac2e981
1 changed files with 2 additions and 2 deletions
|
|
@ -2323,6 +2323,8 @@ private:
|
|||
modsToSend = currentModifiers.withoutMouseButtons().withFlags (ModifierKeys::leftButtonModifier);
|
||||
}
|
||||
|
||||
handleMouseEvent (MouseInputSource::InputSourceType::touch, pos, modsToSend, pressure, orientation, time, PenDetails(), touchIndex);
|
||||
|
||||
if (isCancel)
|
||||
{
|
||||
currentTouches.clear();
|
||||
|
|
@ -2330,8 +2332,6 @@ private:
|
|||
currentModifiers = currentModifiers.withoutMouseButtons();
|
||||
}
|
||||
|
||||
handleMouseEvent (MouseInputSource::InputSourceType::touch, pos, modsToSend, pressure, orientation, time, PenDetails(), touchIndex);
|
||||
|
||||
if (! isValidPeer (this)) // (in case this component was deleted by the event)
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue