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
@@ -707,6 +707,16 @@ impl<'a> PaintContext<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn paint_stacking_context<F>(&mut self, clip_bounds: Option<RectF>, f: F)
|
||||
where
|
||||
F: FnOnce(&mut Self),
|
||||
{
|
||||
self.scene.push_stacking_context(clip_bounds);
|
||||
f(self);
|
||||
self.scene.pop_stacking_context();
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn paint_layer<F>(&mut self, clip_bounds: Option<RectF>, f: F)
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user