Skip to content

Commit

Permalink
feat(fe/stickers): Addition to previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MendyBerger committed May 8, 2024
1 parent b1ad36d commit 62125c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ use dominator::{html, Dom};

use super::state::*;
use components::{
backgrounds::dom::render_backgrounds,
module::_common::edit::prelude::*,
stickers::dom::{render_stickers_options, BaseRenderOptions},
backgrounds::dom::render_backgrounds, module::_common::edit::prelude::*,
stickers::dom::render_stickers,
};
use std::rc::Rc;

Expand All @@ -24,9 +23,8 @@ impl DomRenderable for Main {
.style("height", "100%")
.style("width", "100%")
}))
.child(render_stickers_options(
.child(render_stickers(
state.base.stickers.clone(),
BaseRenderOptions::new_animations(),
))
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ use dominator::{html, Dom};

use super::state::*;
use components::{
backgrounds::dom::render_backgrounds,
module::_common::edit::prelude::*,
stickers::dom::{render_stickers_options, BaseRenderOptions},
backgrounds::dom::render_backgrounds, module::_common::edit::prelude::*,
stickers::dom::render_stickers,
};
use std::rc::Rc;

Expand All @@ -24,9 +23,8 @@ impl DomRenderable for Main {
.style("height", "100%")
.style("width", "100%")
}))
.child(render_stickers_options(
.child(render_stickers(
state.base.stickers.clone(),
BaseRenderOptions::new_animations(),
))
})
}
Expand Down

0 comments on commit 62125c0

Please sign in to comment.