mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
This commit is contained in:
parent
ce72fe4143
commit
fa17310dd1
1 changed files with 1 additions and 1 deletions
|
|
@ -3022,7 +3022,7 @@ bool Component::isMouseOver (bool includeChildren) const
|
|||
|
||||
if (c != nullptr && (c == this || (includeChildren && isParentOf (c))))
|
||||
if (ms.isDragging() || ! (ms.isTouch() || ms.isPen()))
|
||||
if (c->reallyContains (c->getLocalPoint (nullptr, ms.getScreenPosition()).roundToInt(), false))
|
||||
if (c->reallyContains (c->getLocalPoint (nullptr, ms.getScreenPosition().roundToInt()), false))
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue