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