Make menu bar item font monospaced.

This commit is contained in:
2025-09-16 20:41:24 -07:00
parent eb26d9e90f
commit 6465b96e64

View File

@@ -44,10 +44,10 @@ final class CBMenuBarItem: NSObject, NSWindowDelegate {
.statusItem(withLength: NSStatusItem.variableLength) .statusItem(withLength: NSStatusItem.variableLength)
self.statusItem.isVisible = true self.statusItem.isVisible = true
self.panel = PopoverPanel(viewController: CmdViewController()) self.panel = PopoverPanel(viewController: CmdViewController())
// self.statusItem.button?.font = NSFont self.statusItem.button?.font = NSFont
// .monospacedSystemFont(ofSize: NSFontDescriptor .monospacedSystemFont(ofSize: NSFontDescriptor
// .preferredFontDescriptor(forTextStyle: .body).pointSize, .preferredFontDescriptor(forTextStyle: .body).pointSize,
// weight: .regular) weight: .regular)
super.init() super.init()