Browse Source

【右键菜单】- 右键菜单补充

liaoxiaoyue 1 year ago
parent
commit
feae47a789

+ 1 - 1
PDF Office/PDF Office/Class/PDFWindowController/PDFListView/CPDFListViewExtension/CPDFListView+Event.m

@@ -348,7 +348,7 @@ static inline CPDFAreaOfInterest CAreaOfInterestForResizeHandle(CRectEdges mask,
     
     NSMenuItem * pasteItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Paste", @"PDFListView") action:@selector(menuItemClick_Paste:) keyEquivalent:@"v"];
     pasteItem.representedObject = [NSValue valueWithPoint:pagePoint];
-    NSMenuItem * cutItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Cut", @"PDFListView") action:@selector(cut:) keyEquivalent:@""];
+    NSMenuItem * cutItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Cut", @"PDFListView") action:@selector(cut:) keyEquivalent:@"x"];
     
     NSMenuItem * deleteItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Delete", @"PDFListView") action:@selector(delete:) keyEquivalent:@""];
     

+ 3 - 3
PDF Office/PDF Office/Class/PDFWindowController/Side/RightSide/Signature/KMSignatureWindowController.m

@@ -332,7 +332,7 @@ static NSMutableArray * recentlyFonts;
     
     [self drawColorBtnClicked:self.drawColorBtn1];
     
-    for (NSString *pxSize in @[@"1.0 pt",@"2.0 pt",@"4.0 pt",@"6.0 pt",@"8.0 pt"]) {
+    for (NSString *pxSize in @[@"0.5",@"1.0",@"1.5",@"2.0",@"2.5",@"3.0"]) {
         NSDictionary *attrited = @{NSFontAttributeName:[NSFont systemFontOfSize:14]};
         NSAttributedString *string = [[NSAttributedString alloc] initWithString:pxSize attributes:attrited];
         NSMenuItem *item = [[NSMenuItem alloc] init];
@@ -340,7 +340,7 @@ static NSMutableArray * recentlyFonts;
         [self.drawSizeBox.menu addItem:item];
     }
     [self.drawSizeBox selectItem:[self.drawSizeBox itemAtIndex:1]];
-    [self.drawSizeBox setTitle:@"2.0 pt"];
+    [self.drawSizeBox setTitle:@"1.0 pt"];
     
     //Picture
     self.pictureView.wantsLayer = YES;
@@ -666,7 +666,7 @@ static NSMutableArray * recentlyFonts;
     NSString * name = self.drawSizeBox.selectedItem.title;
     self.drawSizeBox.title = name;
     
-    self.drawView.strokeRadius = [[@[@"1.0",@"2.0",@"4.0",@"6.0",@"8.0"] objectAtIndex:(self.drawSizeBox.indexOfSelectedItem -1)] intValue];
+    self.drawView.strokeRadius = [[@[@"0.5",@"1.0",@"1.5",@"2.0",@"2.5",@"3.0"] objectAtIndex:(self.drawSizeBox.indexOfSelectedItem -1)] floatValue];
 }
 
 //Picture

+ 1 - 1
PDF Office/PDF Office/Class/PDFWindowController/Side/RightSide/Signature/KMSignatureWindowController.xib

@@ -50,7 +50,7 @@
             <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
             <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
             <rect key="contentRect" x="196" y="240" width="468" height="392"/>
-            <rect key="screenRect" x="0.0" y="0.0" width="2560" height="1415"/>
+            <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1055"/>
             <view key="contentView" id="se5-gp-TjO">
                 <rect key="frame" x="0.0" y="0.0" width="468" height="392"/>
                 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>