Skip to content
Browse files

Add TUINSView.rootView to the right superlayer -- that'll fix them bl…

…ack boxes
  • Loading branch information...
1 parent af528b2 commit 864f17e05b83cddde1b8929de646be37f4864c7b @jspahrsummers jspahrsummers committed Jul 18, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 lib/UIKit/TUINSView.m
View
6 lib/UIKit/TUINSView.m
@@ -229,11 +229,7 @@ - (void)setRootView:(TUIView *)v
CGSize s = [self frame].size;
v.frame = CGRectMake(0, 0, s.width, s.height);
-
- [self setWantsLayer:YES];
- CALayer *layer = [self layer];
- [layer setDelegate:self];
- [layer addSublayer:rootView.layer];
+ [self.tuiHostView.layer addSublayer:rootView.layer];
[self _updateLayerScaleFactor];
}

0 comments on commit 864f17e

Please sign in to comment.
Something went wrong with that request. Please try again.