1
0
Fork 0
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:
reuk 2021-10-25 18:54:20 +01:00
parent cdbefa3b51
commit eca02270ee
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
3 changed files with 48 additions and 19 deletions

View file

@ -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;