diff --git a/src/RingWindowController.mm b/src/RingWindowController.mm index b99afbc9f53abd98d1effb865e37c22723a7d237..bb0ab05a1c7870d59f3876f532be902165339849 100644 --- a/src/RingWindowController.mm +++ b/src/RingWindowController.mm @@ -178,6 +178,7 @@ typedef NS_ENUM(NSInteger, ViewState) { [chooseAccountVC updateWithDelegate: self andModel:self.accountModel]; settingsVC = [[AccountSettingsVC alloc] initWithNibName:@"AccountSettings" bundle:nil accountmodel:self.accountModel]; [callView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable]; + [[currentCallVC view] setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable]; [[conversationVC view] setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable]; [[settingsVC view] setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable]; diff --git a/src/views/CallMTKView.mm b/src/views/CallMTKView.mm index 326041d4b46310ae438df5202ffef5e2348e99c2..f444110397611c88600a468d3a1c07721cc4c070 100644 --- a/src/views/CallMTKView.mm +++ b/src/views/CallMTKView.mm @@ -215,7 +215,6 @@ bool frameDisplayed = false; [commandEncoder endEncoding]; [commandBuffer presentDrawable:drawable]; [commandBuffer commit]; - [self draw]; } -(simd::float4x4) getScalingMatrix:(CGFloat) ratio axis:(char) axis {