mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Increased the warning level for the Xcode builds of the demo + introjucer, and avoided a few warnings.
This commit is contained in:
parent
ac3151ad1f
commit
aafa12fd81
9 changed files with 24 additions and 25 deletions
|
|
@ -401,8 +401,6 @@ Rectangle<int> ComponentPeer::globalToLocal (const Rectangle<int>& screenPositio
|
|||
|
||||
Rectangle<int> ComponentPeer::getAreaCoveredBy (Component& subComponent) const
|
||||
{
|
||||
jassert (component.isParentOf (&subComponent)); // this can only be used for child components.
|
||||
|
||||
return Component::ComponentHelpers::scaledScreenPosToUnscaled
|
||||
(component.getLocalArea (&subComponent, subComponent.getLocalBounds()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue