mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21: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:
committed by
lucasmerlin
parent
349a8b7560
commit
daae4ce652
@@ -61,7 +61,7 @@ pub fn paint_text_selection(
|
|||||||
let last_glyph_index = if ri == max.row {
|
let last_glyph_index = if ri == max.row {
|
||||||
max.column
|
max.column
|
||||||
} else {
|
} else {
|
||||||
row.glyphs.len() - 1
|
row.glyphs.len()
|
||||||
};
|
};
|
||||||
|
|
||||||
let first_vertex_index = row
|
let first_vertex_index = row
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:344d90928510855dc718a2e36e31a97f084f1163ab750d0217fb8620469b621a
|
oid sha256:ce1e16fa09588ec5351d031408657137f42ff40eb7cf6dd00b8c65a4f51ec680
|
||||||
size 5276
|
size 5332
|
||||||
|
|||||||
Reference in New Issue
Block a user