|
@@ -332,7 +332,7 @@ static NSMutableArray * recentlyFonts;
|
|
|
|
|
|
[self drawColorBtnClicked:self.drawColorBtn1];
|
|
[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]};
|
|
NSDictionary *attrited = @{NSFontAttributeName:[NSFont systemFontOfSize:14]};
|
|
NSAttributedString *string = [[NSAttributedString alloc] initWithString:pxSize attributes:attrited];
|
|
NSAttributedString *string = [[NSAttributedString alloc] initWithString:pxSize attributes:attrited];
|
|
NSMenuItem *item = [[NSMenuItem alloc] init];
|
|
NSMenuItem *item = [[NSMenuItem alloc] init];
|
|
@@ -340,7 +340,7 @@ static NSMutableArray * recentlyFonts;
|
|
[self.drawSizeBox.menu addItem:item];
|
|
[self.drawSizeBox.menu addItem:item];
|
|
}
|
|
}
|
|
[self.drawSizeBox selectItem:[self.drawSizeBox itemAtIndex:1]];
|
|
[self.drawSizeBox selectItem:[self.drawSizeBox itemAtIndex:1]];
|
|
- [self.drawSizeBox setTitle:@"2.0 pt"];
|
|
|
|
|
|
+ [self.drawSizeBox setTitle:@"1.0 pt"];
|
|
|
|
|
|
//Picture
|
|
//Picture
|
|
self.pictureView.wantsLayer = YES;
|
|
self.pictureView.wantsLayer = YES;
|
|
@@ -666,7 +666,7 @@ static NSMutableArray * recentlyFonts;
|
|
NSString * name = self.drawSizeBox.selectedItem.title;
|
|
NSString * name = self.drawSizeBox.selectedItem.title;
|
|
self.drawSizeBox.title = name;
|
|
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
|
|
//Picture
|