summaryrefslogtreecommitdiffstats
path: root/web/src/widget/slider.rs
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/widget/slider.rs')
-rw-r--r--web/src/widget/slider.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/src/widget/slider.rs b/web/src/widget/slider.rs
index 19668025..54b2fdf6 100644
--- a/web/src/widget/slider.rs
+++ b/web/src/widget/slider.rs
@@ -2,9 +2,7 @@ use crate::{Bus, Element, Widget};
use dodrio::bumpalo;
-pub type Slider<'a, Message> = iced_core::Slider<'a, Message>;
-
-pub use iced_core::slider::State;
+pub use iced_core::slider::*;
impl<'a, Message> Widget<Message> for Slider<'a, Message>
where
@@ -28,6 +26,7 @@ where
let event_bus = bus.clone();
// TODO: Make `step` configurable
+ // TODO: Complete styling
label(bump)
.children(vec![input(bump)
.attr("type", "range")