diff --git a/source/gui/platform/mostlyharmless_GuiHelpersMacOS.mm b/source/gui/platform/mostlyharmless_GuiHelpersMacOS.mm index 23c192d..fdaec6e 100644 --- a/source/gui/platform/mostlyharmless_GuiHelpersMacOS.mm +++ b/source/gui/platform/mostlyharmless_GuiHelpersMacOS.mm @@ -44,9 +44,6 @@ void reparentView(void* hostViewHandle, void* clientViewHandle, void* childViewH CGFloat f32B = static_cast(b) / 255.0f; auto* color = [NSColor colorWithCalibratedRed:f32R green:f32G blue:f32B alpha:1]; [[client layer] setBackgroundColor:color.CGColor]; - host.autoresizesSubviews = YES; - host.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable; - host.translatesAutoresizingMaskIntoConstraints = true; client.autoresizesSubviews = YES; client.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable; client.translatesAutoresizingMaskIntoConstraints = true;