Skip to content

Commit 5c6a2ef

Browse files
committed
status bar width regression 536de36
1 parent f50a404 commit 5c6a2ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
5757
} else {
5858
// NSStatusItem.variableLength causes layout shift of icons on the left when switching between en and 拼.
5959
let statusItem: NSStatusItem = NSStatusBar.system.statusItem(
60-
withLength: NSStatusItem.variableLength)
60+
withLength: NSStatusItem.squareLength)
6161
AppDelegate.statusItem = statusItem
6262
if let button = statusItem.button {
6363
button.title = AppDelegate.statusItemText

0 commit comments

Comments
 (0)