diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-15 12:33:38 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-15 12:33:38 +0100 |
| commit | ecb5543985cc0788d9c01e8c2e28d8ca6d8e19b6 (patch) | |
| tree | fcd6dfaad54d4076ee6d767ceb5f388b3c84225b /library/src/layout | |
| parent | 85678118086b29b3820813411cf382fa283b39f0 (diff) | |
Node links
Diffstat (limited to 'library/src/layout')
| -rw-r--r-- | library/src/layout/hide.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/layout/hide.rs b/library/src/layout/hide.rs index e939e6c3..1d87d3e8 100644 --- a/library/src/layout/hide.rs +++ b/library/src/layout/hide.rs @@ -24,6 +24,6 @@ pub struct HideNode { impl Show for HideNode { fn show(&self, _: &mut Vt, _: StyleChain) -> SourceResult<Content> { - Ok(self.body().styled(MetaNode::set_data(vec![Meta::Hidden]))) + Ok(self.body().styled(MetaNode::set_data(vec![Meta::Hide]))) } } |
