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...
1 parent f4a6a90 commit 8645822e2064fe011eaf70c32bdbce67bee0127e @jspahrsummers jspahrsummers committed Jul 20, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/UIKit/TUINSView.m
View
2 lib/UIKit/TUINSView.m
@@ -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;

0 comments on commit 8645822

Please sign in to comment.