1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -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 lucasmerlin
parent 349a8b7560
commit daae4ce652
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

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:344d90928510855dc718a2e36e31a97f084f1163ab750d0217fb8620469b621a
size 5276
oid sha256:ce1e16fa09588ec5351d031408657137f42ff40eb7cf6dd00b8c65a4f51ec680
size 5332