summaryrefslogtreecommitdiffstats
path: root/src/widget/progress_bar.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget/progress_bar.rs')
-rw-r--r--src/widget/progress_bar.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget/progress_bar.rs b/src/widget/progress_bar.rs
index 19e164f6..0964b2db 100644
--- a/src/widget/progress_bar.rs
+++ b/src/widget/progress_bar.rs
@@ -76,7 +76,7 @@ where
MouseCursor::OutOfBounds
}
- fn hash(&self, state: &mut Hasher) {
+ fn hash_layout(&self, state: &mut Hasher) {
self.style.hash(state);
}
}
@@ -96,7 +96,7 @@ pub trait Renderer {
/// * the progress of the [`ProgressBar`]
///
/// [`ProgressBar`]: struct.ProgressBar.html
- fn draw(&mut self, bounds: Rectangle<f32>, progress: f32);
+ fn draw(&mut self, bounds: Rectangle, progress: f32);
}
impl<'a, Message, Renderer> From<ProgressBar> for Element<'a, Message, Renderer>