diff --git a/CHANGELOG.md b/CHANGELOG.md index dcd03ea6d..6dd657fd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ Change Log - Optimize the performance of invisible character drawing, especially with very-long unwrapped lines. - Update Python syntax style. - [beta] Horizontally center the contents of the preferences panes (Thanks to zom-san!). +- [beta] Update some toolbar icons. - [beta][trivial] Update the style of the add/remove buttons. - [beta][dev] Update the build environment to Xcode 12.2 beta 3. diff --git a/CotEditor/Assets.xcassets/Symbols/emoji.symbolset/Contents.json b/CotEditor/Assets.xcassets/Symbols/emoji.symbolset/Contents.json new file mode 100644 index 000000000..c81a63641 --- /dev/null +++ b/CotEditor/Assets.xcassets/Symbols/emoji.symbolset/Contents.json @@ -0,0 +1,12 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + }, + "symbols" : [ + { + "filename" : "emoji.svg", + "idiom" : "universal" + } + ] +} diff --git a/CotEditor/Assets.xcassets/Symbols/emoji.symbolset/emoji.svg b/CotEditor/Assets.xcassets/Symbols/emoji.symbolset/emoji.svg new file mode 100644 index 000000000..3e3e2f5a9 --- /dev/null +++ b/CotEditor/Assets.xcassets/Symbols/emoji.symbolset/emoji.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + Weight/Scale Variations + + + Ultralight + Thin + Light + Regular + Medium + Semibold + Bold + Heavy + Black + + + + + + + + + Template v.2.0 + Requires Xcode 12 or greater + Generated from face.smiling + Typeset at 100 points + + + + + Small + Medium + Large + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CotEditor/Sources/DocumentWindowController.swift b/CotEditor/Sources/DocumentWindowController.swift index 9e0cdb8af..5e9a1e516 100644 --- a/CotEditor/Sources/DocumentWindowController.swift +++ b/CotEditor/Sources/DocumentWindowController.swift @@ -592,7 +592,7 @@ extension DocumentWindowController: NSToolbarDelegate { item.label = "Emoji & Symbols".localized item.toolTip = "Show Emoji & Symbols palette".localized if #available(macOS 11, *) { - item.image = NSImage(systemSymbolName: "face.smiling", accessibilityDescription: item.label) + item.image = NSImage(named: "emoji") } else { item.image = #imageLiteral(resourceName: "Emoji") }