Remove unnecessary redraw request in mouse_area
This commit is contained in:
parent
301aac794b
commit
7a81e638a3
1 changed files with 0 additions and 4 deletions
|
|
@ -345,10 +345,6 @@ fn update<Message: Clone, Theme, Renderer>(
|
|||
state.cursor_position = cursor_position;
|
||||
state.bounds = bounds;
|
||||
|
||||
if widget.interaction.is_some() && state.is_hovered != was_hovered {
|
||||
shell.request_redraw();
|
||||
}
|
||||
|
||||
match (
|
||||
widget.on_enter.as_ref(),
|
||||
widget.on_move.as_ref(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue