|
@@ -258,7 +258,7 @@ NSNotificationName const CPDFListViewDisplayModeChangeNotification = @"CPDFListV
|
|
|
|
|
|
- (KMDrawView *)CreatePresentationDrawView {
|
|
|
if(!_presentationDrawView) {
|
|
|
- float scale = 6;//放大比例,越大可能会卡顿
|
|
|
+ float scale = 3;//放大比例,越大可能会卡顿
|
|
|
_presentationDrawView = [[KMDrawView alloc] initWithFrame:CGRectMake(0, 0,
|
|
|
scale * self.bounds.size.width,
|
|
|
scale * self.bounds.size.height)];
|
|
@@ -269,7 +269,7 @@ NSNotificationName const CPDFListViewDisplayModeChangeNotification = @"CPDFListV
|
|
|
_presentationDrawView.frame = self.bounds;
|
|
|
|
|
|
_presentationDrawView.renderColor = [NSColor blackColor];
|
|
|
- _presentationDrawView.radius = 100;
|
|
|
+ _presentationDrawView.radius = 50;
|
|
|
_presentationDrawView.hidden = YES;
|
|
|
|
|
|
}
|
|
@@ -1529,8 +1529,8 @@ NSNotificationName const CPDFListViewDisplayModeChangeNotification = @"CPDFListV
|
|
|
}
|
|
|
|
|
|
- (void)resetPresentationDrawMode {
|
|
|
- [_presentationDrawView resetUndoManager];
|
|
|
[_presentationDrawView clear];
|
|
|
+ [_presentationDrawView resetUndoManager];
|
|
|
}
|
|
|
|
|
|
- (void)exitPresentationDrawMode {
|