mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Fix wrong tint color and improve tab labeling
This commit is contained in:
@ -129,11 +129,10 @@ class TerminalController: NSWindowController, NSWindowDelegate,
|
|||||||
|
|
||||||
for (index, window) in windows.enumerated().prefix(9) {
|
for (index, window) in windows.enumerated().prefix(9) {
|
||||||
let action = "goto_tab:\(index + 1)"
|
let action = "goto_tab:\(index + 1)"
|
||||||
guard let equiv = ghostty.config.keyEquivalent(for: action) else {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
window.keyEquivalent = "\(equiv)"
|
if let equiv = ghostty.config.keyEquivalent(for: action) {
|
||||||
|
window.keyEquivalent = "\(equiv)"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ class TerminalToolbar: NSToolbar, NSToolbarDelegate {
|
|||||||
|
|
||||||
button.frame = view.bounds
|
button.frame = view.bounds
|
||||||
button.isBordered = false
|
button.isBordered = false
|
||||||
button.contentTintColor = .systemBlue
|
button.contentTintColor = .controlAccentColor
|
||||||
button.state = .on
|
button.state = .on
|
||||||
button.imageScaling = .scaleProportionallyUpOrDown
|
button.imageScaling = .scaleProportionallyUpOrDown
|
||||||
view.addSubview(button)
|
view.addSubview(button)
|
||||||
|
Reference in New Issue
Block a user