From b0cbd13e7aceed2f78ea8ec2b9076b83c9d16794 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Fri, 21 Apr 2023 11:46:13 +0200 Subject: [PATCH] Remove stray `push_layer` from `EditorElement::paint` --- crates/editor/src/element.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/editor/src/element.rs b/crates/editor/src/element.rs index 9ec01b938a..c0c459351a 100644 --- a/crates/editor/src/element.rs +++ b/crates/editor/src/element.rs @@ -867,8 +867,6 @@ impl EditorElement { } } - scene.push_layer(Some(bounds)); - scene.paint_layer(Some(bounds), |scene| { for cursor in cursors { cursor.paint(scene, content_origin, cx);