Преглед изворни кода

【左边栏】- BOTA:注释列表崩溃修复

liaoxiaoyue пре 1 година
родитељ
комит
b5fcaa4657

+ 3 - 3
PDF Office/PDF Office/Class/PDFWindowController/Side/LeftSide/Annotation/View/KMNoteTypeImageView.m

@@ -58,9 +58,9 @@ NSString *SKNRedactString = @"SKNRedactString";
     if (@available(macOS 10.14, *)) {
         NSAppearanceName appearanceName = [[NSApp effectiveAppearance] bestMatchFromAppearancesWithNames:@[NSAppearanceNameAqua, NSAppearanceNameDarkAqua]];
         if ([appearanceName isEqualToString:NSAppearanceNameDarkAqua]) {
-            strikePath = @"KMImageNameAnnotationStrikeoutDrak";
-            highlight = @"KMImageNameAnnotationHightlightDrak";
-            underline = @"KMImageNameAnnotationUnderlineDrak";
+            strikePath = @"KMImageNameAnnotationStrikeout";
+            highlight = @"KMImageNameAnnotationStrikeout";
+            underline = @"KMImageNameAnnotationStrikeout";
             inkImagePath = @"KMImageNameAnnotationFreehandDrak";
         }
     }