Apply latest changes to Image and ProgressBar
This commit is contained in:
parent
b08c999ac8
commit
5c5612d931
3 changed files with 10 additions and 10 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue