diff options
author | 2020-07-09 05:44:48 +0200 | |
---|---|---|
committer | 2020-07-09 05:44:48 +0200 | |
commit | ef553cd12456a3fd70df26c936953887a78a1bba (patch) | |
tree | d7095a34dd996ef46d60a9bc5e11535069fcc71d /graphics | |
parent | 2f02ca3248bee529ebde7901375784dc9971eaf9 (diff) | |
download | iced-ef553cd12456a3fd70df26c936953887a78a1bba.tar.gz iced-ef553cd12456a3fd70df26c936953887a78a1bba.tar.bz2 iced-ef553cd12456a3fd70df26c936953887a78a1bba.zip |
Stop drawing pane background when dragged
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/src/widget/pane_grid.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/graphics/src/widget/pane_grid.rs b/graphics/src/widget/pane_grid.rs index c8d9625b..8ec5c547 100644 --- a/graphics/src/widget/pane_grid.rs +++ b/graphics/src/widget/pane_grid.rs @@ -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 { |