summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-20 15:50:42 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-20 15:50:42 +0700
commit11bcb1342796a6fabc7c5b89a15c22c754b014ce (patch)
treed55c147d35d422b219bd813ec71d49bb09833951 /wgpu
parente00a2e9b2d97147be5912a97362d1bf1705b7c4e (diff)
downloadiced-11bcb1342796a6fabc7c5b89a15c22c754b014ce.tar.gz
iced-11bcb1342796a6fabc7c5b89a15c22c754b014ce.tar.bz2
iced-11bcb1342796a6fabc7c5b89a15c22c754b014ce.zip
Wire up styling to `Slider` in `iced_native`
Diffstat (limited to 'wgpu')
-rw-r--r--wgpu/src/widget/slider.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/wgpu/src/widget/slider.rs b/wgpu/src/widget/slider.rs
index 9a269858..2ece156c 100644
--- a/wgpu/src/widget/slider.rs
+++ b/wgpu/src/widget/slider.rs
@@ -1,13 +1,5 @@
//! Display an interactive selector of a single value from a range of values.
//!
//! A [`Slider`] has some local [`State`].
-use crate::Renderer;
-
pub use iced_graphics::slider::{Handle, HandleShape, Style, StyleSheet};
-pub use iced_native::slider::State;
-
-/// An horizontal bar and a handle that selects a single value from a range of
-/// values.
-///
-/// This is an alias of an `iced_native` slider with an `iced_wgpu::Renderer`.
-pub type Slider<'a, T, Message> = iced_native::Slider<'a, T, Message, Renderer>;
+pub use iced_native::slider::{Slider, State};