mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Workaround initial pop-up button’s text color
This commit is contained in:
parent
d466e715cc
commit
8668dd1d4d
@ -10,6 +10,7 @@ Change Log
|
||||
- [beta] Fix an issue in the navigation bar that the split editor button did not updated when change the split orientation.
|
||||
- [beta] Fix an issue in the appearance pane and the multiple replacement panel that the newly added setting was not selected.
|
||||
- [beta] Address an issue that the status bar rarely compressed vertically.
|
||||
- [beta] Workaround an issue that the initial text color of the pop-up menus in the status bar dimmed.
|
||||
|
||||
|
||||
|
||||
|
@ -66,6 +66,11 @@ final class StatusBarController: NSViewController {
|
||||
(self.view as? NSVisualEffectView)?.material = .windowBackground
|
||||
}
|
||||
|
||||
// workaround for the dimmed initial text color
|
||||
// (FB8721478, Xcode 12.2-beta + macOS 11)
|
||||
self.encodingPopUpButton?.contentTintColor = .labelColor
|
||||
self.lineEndingPopUpButton?.contentTintColor = .labelColor
|
||||
|
||||
// set accessibility
|
||||
self.view.setAccessibilityElement(true)
|
||||
self.view.setAccessibilityRole(.group)
|
||||
|
Loading…
Reference in New Issue
Block a user