Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add TUINSView.rootView to the right superlayer -- that'll fix them bl…
…ack boxes
  • Loading branch information
jspahrsummers committed Jul 18, 2012
1 parent af528b2 commit 864f17e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/UIKit/TUINSView.m
Expand Up @@ -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];
}
Expand Down

0 comments on commit 864f17e

Please sign in to comment.