Merge pull request #5516 from Tyriar/activeMatchBg

Ensure activeMatchBackground decoration is on top
This commit is contained in:
Daniel Imms
2025-12-27 08:04:50 -08:00
committed by GitHub
@@ -135,6 +135,7 @@ export class DecorationManager extends Disposable {
marker,
x: range[1],
width: range[2],
layer: isActiveResult ? 'top' : 'bottom',
backgroundColor: isActiveResult ? options.activeMatchBackground : options.matchBackground,
overviewRulerOptions: this._highlightedLines.has(marker.line) ? undefined : {
color: isActiveResult ? options.activeMatchColorOverviewRuler : options.matchOverviewRuler,