Merge pull request #5516 from Tyriar/activeMatchBg
Ensure activeMatchBackground decoration is on top
This commit is contained in:
@@ -135,6 +135,7 @@ export class DecorationManager extends Disposable {
|
|||||||
marker,
|
marker,
|
||||||
x: range[1],
|
x: range[1],
|
||||||
width: range[2],
|
width: range[2],
|
||||||
|
layer: isActiveResult ? 'top' : 'bottom',
|
||||||
backgroundColor: isActiveResult ? options.activeMatchBackground : options.matchBackground,
|
backgroundColor: isActiveResult ? options.activeMatchBackground : options.matchBackground,
|
||||||
overviewRulerOptions: this._highlightedLines.has(marker.line) ? undefined : {
|
overviewRulerOptions: this._highlightedLines.has(marker.line) ? undefined : {
|
||||||
color: isActiveResult ? options.activeMatchColorOverviewRuler : options.matchOverviewRuler,
|
color: isActiveResult ? options.activeMatchColorOverviewRuler : options.matchOverviewRuler,
|
||||||
|
|||||||
Reference in New Issue
Block a user