mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix current line highlight opacity
This commit is contained in:
parent
8ee90874fd
commit
bec61df2dc
@ -9,6 +9,7 @@ Change Log
|
||||
|
||||
- Fix an issue where the help button in the multiple replace window did not link to the suitable help page.
|
||||
- Fix an issue where "Show Mapping Conflict" menu item was always available even no conflict exists.
|
||||
- Fix an issue where the current line highlight was opaque in split editors although the editor background is non-opaque.
|
||||
- Fix an issue where unwanted debug log was printed in the Console.
|
||||
- Fix an unlocalized label.
|
||||
|
||||
|
@ -1160,6 +1160,10 @@ final class EditorTextView: NSTextView, Themable {
|
||||
|
||||
(self.layoutManager as? LayoutManager)?.invisiblesColor = theme.invisibles.color
|
||||
|
||||
if !self.isOpaque {
|
||||
self.lineHighLightColor = self.lineHighLightColor?.withAlphaComponent(0.7)
|
||||
}
|
||||
|
||||
// set scroller color considering background color
|
||||
self.enclosingScrollView?.scrollerKnobStyle = theme.isDarkTheme ? .light : .default
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user