Stop drawing pane background when dragged

This commit is contained in:
Héctor Ramón Jiménez 2020-07-09 05:44:48 +02:00
parent 2f02ca3248
commit ef553cd124

View file

@ -82,12 +82,6 @@ where
let pane = panes.remove(index);
let bounds = layout.bounds();
if let Primitive::Group { primitives } = &pane {
panes.push(
primitives.first().cloned().unwrap_or(Primitive::None),
);
}
// TODO: Fix once proper layering is implemented.
// This is a pretty hacky way to achieve layering.
let clip = Primitive::Clip {