diff --git a/RustPlayground/RustPlayground/Assets/Assets.xcassets/PlayIcon.imageset/Contents.json b/RustPlayground/RustPlayground/Assets/Assets.xcassets/PlayIcon.imageset/Contents.json index c827003..ee67b76 100644 --- a/RustPlayground/RustPlayground/Assets/Assets.xcassets/PlayIcon.imageset/Contents.json +++ b/RustPlayground/RustPlayground/Assets/Assets.xcassets/PlayIcon.imageset/Contents.json @@ -19,5 +19,8 @@ "info" : { "version" : 1, "author" : "xcode" + }, + "properties" : { + "template-rendering-intent" : "template" } } \ No newline at end of file diff --git a/RustPlayground/RustPlayground/EditView.swift b/RustPlayground/RustPlayground/EditView.swift index c3fbfa5..a41b74a 100644 --- a/RustPlayground/RustPlayground/EditView.swift +++ b/RustPlayground/RustPlayground/EditView.swift @@ -52,8 +52,6 @@ class EditView: NSView { override func draw(_ dirtyRect: NSRect) { guard let lines = lineSource, lines.totalLines > 0 else { return } - NSColor.white.setFill() - dirtyRect.fill() let font = EditorPreferences.shared.editorFont let linespace = font.linespace @@ -65,7 +63,7 @@ class EditView: NSView { for lineNumber in first..