Remove unnecessary redraw request in mouse_area

This commit is contained in:
Héctor Ramón Jiménez 2025-05-03 00:51:18 +02:00
parent 301aac794b
commit 7a81e638a3
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -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(),