summaryrefslogtreecommitdiff
path: root/src/layout/stack.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/stack.rs')
-rw-r--r--src/layout/stack.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/stack.rs b/src/layout/stack.rs
index e98be7ed..eac631d9 100644
--- a/src/layout/stack.rs
+++ b/src/layout/stack.rs
@@ -34,9 +34,9 @@ impl Layout for NodeStack {
}
}
-impl From<NodeStack> for Node {
+impl From<NodeStack> for NodeAny {
fn from(stack: NodeStack) -> Self {
- Self::any(stack)
+ Self::new(stack)
}
}