Ensure activeMatchBackground decoration is on top

Fixes #5369
This commit is contained in:
Daniel Imms
2025-12-27 06:30:02 -08:00
parent 057fefd39e
commit 5d3564bb38
@@ -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,