summaryrefslogtreecommitdiff
path: root/src/library/graphics/hide.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/graphics/hide.rs')
-rw-r--r--src/library/graphics/hide.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/graphics/hide.rs b/src/library/graphics/hide.rs
index 21fc58c2..85971c36 100644
--- a/src/library/graphics/hide.rs
+++ b/src/library/graphics/hide.rs
@@ -4,7 +4,7 @@ use crate::library::prelude::*;
#[derive(Debug, Hash)]
pub struct HideNode(pub LayoutNode);
-#[class]
+#[node]
impl HideNode {
fn construct(_: &mut Context, args: &mut Args) -> TypResult<Content> {
Ok(Content::inline(Self(args.expect("body")?)))