Make the whole document view use CoreAnimation

See #239.
This commit is contained in:
Tzu-ping Chung
2015-01-03 00:43:10 +08:00
parent 3e050e84e9
commit 906cd7f363
2 changed files with 1 additions and 2 deletions

View File

@@ -1287,7 +1287,6 @@ static void (^MPGetPreviewLoadingCompletionHandler(MPDocument *doc))()
CALayer *layer = [CALayer layer];
layer.backgroundColor = backgroundCGColor;
self.editorContainer.layer = layer;
self.editorContainer.wantsLayer = YES;
}
if (!changedKey || [changedKey isEqualToString:@"editorShowWordCount"])

View File

@@ -26,7 +26,7 @@
<rect key="contentRect" x="0.0" y="0.0" width="1024" height="578"/>
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="877"/>
<value key="minSize" type="size" width="94" height="86"/>
<view key="contentView" id="gIp-Ho-8D9">
<view key="contentView" wantsLayer="YES" id="gIp-Ho-8D9">
<rect key="frame" x="0.0" y="0.0" width="1024" height="578"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>