Use opaque background color for window::Preedit

Co-authored-by: KENZ <KENZ.gelsoft@gmail.com>
This commit is contained in:
Héctor Ramón Jiménez 2025-11-21 01:26:40 +01:00
parent 23723f8624
commit f68ce10c1b
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -360,6 +360,11 @@ where
) {
self.position = position;
let background = Color {
a: 1.0,
..background
};
let spans = match &preedit.selection {
Some(selection) => {
vec![
@ -428,6 +433,11 @@ where
.min(viewport.y + viewport.height - bounds.height);
renderer.with_layer(bounds, |renderer| {
let background = Color {
a: 1.0,
..background
};
renderer.fill_quad(
renderer::Quad {
bounds,