mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-07 04:10:08 +00:00
Component: Add Point<float> overloads for some common functions
This commit is contained in:
parent
cdbefa3b51
commit
eca02270ee
3 changed files with 48 additions and 19 deletions
|
|
@ -78,8 +78,8 @@ public:
|
|||
auto& comp = peer->getComponent();
|
||||
|
||||
// (the contains() call is needed to test for overlapping desktop windows)
|
||||
if (comp.containsInternal (relativePos))
|
||||
return comp.getComponentAtInternal (relativePos);
|
||||
if (comp.contains (relativePos))
|
||||
return comp.getComponentAt (relativePos);
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue