editor: Fix line number to use same editor background. (#1282)

This commit is contained in:
Jason Lee 2025-09-24 14:14:32 +08:00 committed by GitHub
parent bd3bffaf67
commit ca8d595936
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1090,7 +1090,11 @@ impl Element for TextElement {
input_bounds.size.height, input_bounds.size.height,
), ),
}, },
cx.theme().background, cx.theme()
.highlight_theme
.style
.background
.unwrap_or(cx.theme().background),
)); ));
// Each item is the normal lines. // Each item is the normal lines.