Apply latest changes to Image and ProgressBar

This commit is contained in:
Héctor Ramón Jiménez 2019-09-03 13:56:43 +02:00
parent b08c999ac8
commit 5c5612d931
3 changed files with 10 additions and 10 deletions

View file

@ -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>