Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Keep the AppKit masking layer at the same size as the appKitHostView …

…(though it doesn't seem to make a difference, it seems like a good idea)
  • Loading branch information...
commit 8645822e2064fe011eaf70c32bdbce67bee0127e 1 parent f4a6a90
Justin Spahr-Summers jspahrsummers authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/UIKit/TUINSView.m
2  lib/UIKit/TUINSView.m
View
@@ -630,6 +630,8 @@ - (void)setUp {
opaque = YES;
_maskLayer = [CAShapeLayer layer];
+ _maskLayer.frame = self.bounds;
+ _maskLayer.autoresizingMask = kCALayerWidthSizable | kCALayerHeightSizable;
// enable layer-backing for this view
self.wantsLayer = YES;
Please sign in to comment.
Something went wrong with that request. Please try again.