summaryrefslogtreecommitdiffstats
path: root/web/src/widget/image.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2019-11-24 19:15:28 +0100
committerLibravatar GitHub <noreply@github.com>2019-11-24 19:15:28 +0100
commitbbcd16c3358e641b8ab1877b802d1f7c5709943d (patch)
tree72c805ce46792f3c038d2d7ea127263ae965a779 /web/src/widget/image.rs
parent700390bdb297a5fc2eb356b10f9ed2656cc75daa (diff)
parent2b2a0f12c75032453fbefd2491d3ef51ff0ba88e (diff)
downloadiced-bbcd16c3358e641b8ab1877b802d1f7c5709943d.tar.gz
iced-bbcd16c3358e641b8ab1877b802d1f7c5709943d.tar.bz2
iced-bbcd16c3358e641b8ab1877b802d1f7c5709943d.zip
Merge pull request #66 from hecrj/feature/new-web-tour
Make `tour` work with `iced_web` again
Diffstat (limited to 'web/src/widget/image.rs')
-rw-r--r--web/src/widget/image.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/src/widget/image.rs b/web/src/widget/image.rs
index ab510bdb..ed8b7ecf 100644
--- a/web/src/widget/image.rs
+++ b/web/src/widget/image.rs
@@ -1,4 +1,4 @@
-use crate::{Bus, Element, Length, Widget};
+use crate::{style, Bus, Element, Length, Widget};
use dodrio::bumpalo;
@@ -57,6 +57,7 @@ impl<Message> Widget<Message> for Image {
&self,
bump: &'b bumpalo::Bump,
_bus: &Bus<Message>,
+ _style_sheet: &mut style::Sheet<'b>,
) -> dodrio::Node<'b> {
use dodrio::builder::*;