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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user