diff --git a/crates/ui-panels/src/docking/drop.rs b/crates/ui-panels/src/docking/drop.rs index 736913aa5..b3968564b 100644 --- a/crates/ui-panels/src/docking/drop.rs +++ b/crates/ui-panels/src/docking/drop.rs @@ -410,7 +410,7 @@ impl DropTarget> for DockDro } /// The arrangement a dock drag started on: the dock area and the revision of the workspace it showed. -#[derive(Clone, Copy, Debug, PartialEq, Eq)] +#[derive(Clone, Copy, Debug, PartialEq, Eq, crate::contract::MemoProps)] #[doc(hidden)] pub struct Arrangement { pub dock: Id, @@ -418,7 +418,7 @@ pub struct Arrangement { } /// The env value a dock area puts into its body: the arrangement it shows. `None` outside a dock area. -#[derive(Clone, Copy, PartialEq)] +#[derive(Clone, Copy, PartialEq, crate::contract::MemoProps)] struct InDock(Option); impl EnvValue for InDock {