Update underline style of outline menu items

This commit is contained in:
1024jp 2016-04-20 20:37:36 +09:00
parent 91b403a6bd
commit a6dcfd37bc
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ develop
### Improvements
- Change underline style of outline items.
- Update “JavaScript” syntax style:
- Improve outline definitions to support the class syntax sugar introduced in ECMAScript 6.
- Better coloring for “get” and “set”.

View File

@ -173,7 +173,7 @@ static const NSTimeInterval kDuration = 0.12;
attrs[NSFontAttributeName] = font;
if ([outlineItem[CEOutlineItemStyleUnderlineKey] boolValue]) {
attrs[NSUnderlineStyleAttributeName] = @(NSUnderlineByWordMask | NSUnderlinePatternSolid | NSUnderlineStyleThick);
attrs[NSUnderlineStyleAttributeName] = @(NSUnderlineStyleSingle);
}
NSAttributedString *title = [[NSAttributedString alloc] initWithString:outlineItem[CEOutlineItemTitleKey]