mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
Properly handle row repositioning
This commit is contained in:
@@ -88,8 +88,8 @@ pub fn adjust_colors(
|
||||
|
||||
if !galley.is_empty() {
|
||||
let galley = std::sync::Arc::make_mut(galley);
|
||||
for (row, _) in &mut galley.rows {
|
||||
let row = Arc::make_mut(row);
|
||||
for placed_row in &mut galley.rows {
|
||||
let row = Arc::make_mut(&mut placed_row.row);
|
||||
for vertex in &mut row.visuals.mesh.vertices {
|
||||
adjust_color(&mut vertex.color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user