Fix current line highlight opacity

This commit is contained in:
1024jp 2018-06-24 18:42:22 +09:00
parent 8ee90874fd
commit bec61df2dc
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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