|
|
@@ -114,7 +114,7 @@ struct AutoResizingNSViewComponentWithParent : public AutoResizingNSViewCompone |
|
|
|
AutoResizingNSViewComponent::AutoResizingNSViewComponent()
|
|
|
|
: recursive (false) {}
|
|
|
|
|
|
|
|
void AutoResizingNSViewComponent::childBoundsChanged (Component*) override
|
|
|
|
void AutoResizingNSViewComponent::childBoundsChanged (Component*)
|
|
|
|
{
|
|
|
|
if (recursive)
|
|
|
|
{
|
|
|
@@ -128,7 +128,7 @@ void AutoResizingNSViewComponent::childBoundsChanged (Component*) override |
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void AutoResizingNSViewComponent::handleAsyncUpdate() override
|
|
|
|
void AutoResizingNSViewComponent::handleAsyncUpdate()
|
|
|
|
{
|
|
|
|
resizeToFitView();
|
|
|
|
}
|
|
|
@@ -152,7 +152,7 @@ JUCE_IOS_MAC_VIEW* AutoResizingNSViewComponentWithParent::getChildView() const |
|
|
|
return nil;
|
|
|
|
}
|
|
|
|
|
|
|
|
void AutoResizingNSViewComponentWithParent::timerCallback() override
|
|
|
|
void AutoResizingNSViewComponentWithParent::timerCallback()
|
|
|
|
{
|
|
|
|
if (JUCE_IOS_MAC_VIEW* child = getChildView())
|
|
|
|
{
|
|
|
|