summaryrefslogtreecommitdiffstats
path: root/graphics/src/widget/button.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-31 15:35:12 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-10-31 16:14:34 +0700
commit0aafcde0ef1533c9eeba0379de8c0082e30c7504 (patch)
treeec1a6e47a5f97f9893da58ed276c71f8c93f305c /graphics/src/widget/button.rs
parente5e477aa692e33eb639e4d3acbc073fdb47f9c9a (diff)
downloadiced-0aafcde0ef1533c9eeba0379de8c0082e30c7504.tar.gz
iced-0aafcde0ef1533c9eeba0379de8c0082e30c7504.tar.bz2
iced-0aafcde0ef1533c9eeba0379de8c0082e30c7504.zip
Remove `widget` module re-exports in `iced_native`
Diffstat (limited to 'graphics/src/widget/button.rs')
-rw-r--r--graphics/src/widget/button.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/src/widget/button.rs b/graphics/src/widget/button.rs
index 3d3e6675..7b40c47b 100644
--- a/graphics/src/widget/button.rs
+++ b/graphics/src/widget/button.rs
@@ -3,10 +3,10 @@
//! A [`Button`] has some local [`State`].
use crate::Renderer;
-pub use iced_native::button::{State, Style, StyleSheet};
+pub use iced_native::widget::button::{State, Style, StyleSheet};
/// A widget that produces a message when clicked.
///
/// This is an alias of an `iced_native` button with an `iced_wgpu::Renderer`.
pub type Button<'a, Message, Backend> =
- iced_native::Button<'a, Message, Renderer<Backend>>;
+ iced_native::widget::Button<'a, Message, Renderer<Backend>>;