bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
14 lines
440 B
Diff
14 lines
440 B
Diff
diff --git a/ui/cocoa.m b/ui/cocoa.m
|
|
index 25e0db9dd0..7ce889d798 100644
|
|
--- a/ui/cocoa.m
|
|
+++ b/ui/cocoa.m
|
|
@@ -539,9 +539,6 @@ - (NSSize)fixAspectRatio:(NSSize)max
|
|
- (NSSize) screenSafeAreaSize
|
|
{
|
|
NSSize size = [[[self window] screen] frame].size;
|
|
- NSEdgeInsets insets = [[[self window] screen] safeAreaInsets];
|
|
- size.width -= insets.left + insets.right;
|
|
- size.height -= insets.top + insets.bottom;
|
|
return size;
|
|
}
|
|
|