We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bead4b2 commit 96c4b19Copy full SHA for 96c4b19
src/server.swift
@@ -46,7 +46,8 @@ class AppDelegate: NSObject, NSApplicationDelegate {
46
47
signal(SIGTERM, signalHandler)
48
49
- AppDelegate.statusItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength)
+ // NSStatusItem.variableLength causes layout shift of icons on the left when switching between en and 拼.
50
+ AppDelegate.statusItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.squareLength)
51
52
if let button = AppDelegate.statusItem?.button {
53
button.action = #selector(handleStatusItemClick)
0 commit comments