From d0f79d2779d00752eef78cd98b6904cd888d59e3 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 23 Nov 2019 20:23:38 +0100 Subject: Make `tour` work with `iced_web` again :tada: - Implements `TextInput`, `Scrollable`, and `Container` - Adds basic style generation --- web/src/widget/image.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/src/widget/image.rs') 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 Widget for Image { &self, bump: &'b bumpalo::Bump, _bus: &Bus, + _style_sheet: &mut style::Sheet<'b>, ) -> dodrio::Node<'b> { use dodrio::builder::*; -- cgit