Handle tab drag end on pane items to insert after active item
Co-Authored-By: Kay Simmons <kay@zed.dev>
This commit is contained in:
committed by
K Simmons
co-authored by
Kay Simmons
parent
c295f943ba
commit
b9f9819637
@@ -42,9 +42,9 @@ impl Element for Stack {
|
||||
cx: &mut PaintContext,
|
||||
) -> Self::PaintState {
|
||||
for child in &mut self.children {
|
||||
cx.scene.push_layer(None);
|
||||
child.paint(bounds.origin(), visible_bounds, cx);
|
||||
cx.scene.pop_layer();
|
||||
cx.paint_layer(None, |cx| {
|
||||
child.paint(bounds.origin(), visible_bounds, cx);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user