Skip to content

Commit

Permalink
Splitview can't use CALayer or flush will happen
Browse files Browse the repository at this point in the history
Fix #165

Will need to find some other ways if this filling is necessary.
  • Loading branch information
uranusjr committed Sep 17, 2014
1 parent 28a4d38 commit c57d907
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions MacDown/Code/Document/MPDocument.m
Original file line number Diff line number Diff line change
Expand Up @@ -1340,11 +1340,6 @@ - (void)setupEditor:(NSString *)changedKey
layer.backgroundColor = backgroundCGColor;
self.editorContainer.layer = layer;
self.editorContainer.wantsLayer = YES;

layer = [CALayer layer];
layer.backgroundColor = backgroundCGColor;
self.splitView.layer = layer;
self.splitView.wantsLayer = YES;
}

if (!changedKey || [changedKey isEqualToString:@"editorShowWordCount"])
Expand Down

0 comments on commit c57d907

Please sign in to comment.