Skip to content
Snippets Groups Projects
Verified Commit 3a8d4a06 authored by Spotlight Deveaux's avatar Spotlight Deveaux :fox:
Browse files

Fix light/dark mode

parent 388c2472
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
// Create NSImage from the CGImage using the new size
let imageWithNewSize = NSImage(cgImage: imageRef!, size: newSize)
// This allows us to ignore dark/light mode and have the system convert.
// The PDF view does not appear to account for the current system
// appearance.
imageWithNewSize.isTemplate = true
statusItem.button!.image = imageWithNewSize
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment