1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 22:30:03 -04:00

Fix wrong color of last glyph of selected text (#8075)

* Closes https://github.com/emilk/egui/issues/8059
This commit is contained in:
Emil Ernerfeldt
2026-04-07 12:59:46 +02:00
committed by GitHub
parent a511282e94
commit 74b9970a9f
2 changed files with 3 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ pub fn paint_text_selection(
let last_glyph_index = if ri == max.row {
max.column
} else {
row.glyphs.len() - 1
row.glyphs.len()
};
let first_vertex_index = row