Remove stray push_layer from EditorElement::paint

This commit is contained in:
Antonio Scandurra 2023-04-21 11:46:13 +02:00
parent e5192a4853
commit b0cbd13e7a

View file

@ -867,8 +867,6 @@ impl EditorElement {
} }
} }
scene.push_layer(Some(bounds));
scene.paint_layer(Some(bounds), |scene| { scene.paint_layer(Some(bounds), |scene| {
for cursor in cursors { for cursor in cursors {
cursor.paint(scene, content_origin, cx); cursor.paint(scene, content_origin, cx);