Fix unused variable warnings
This commit is contained in:
parent
99306cbf1b
commit
8ef1b705d0
1 changed files with 2 additions and 2 deletions
|
|
@ -492,10 +492,10 @@ fn update<Message: Clone>(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Event::Mouse(mouse::Event::CursorMoved { position }) = event {
|
if let Event::Mouse(mouse::Event::CursorMoved { .. }) = event {
|
||||||
let position_in = cursor.position_in(layout_bounds);
|
let position_in = cursor.position_in(layout_bounds);
|
||||||
match (position_in, state.last_position) {
|
match (position_in, state.last_position) {
|
||||||
(None, Some(last)) => {
|
(None, Some(_)) => {
|
||||||
if let Some(message) = widget.on_exit.as_ref() {
|
if let Some(message) = widget.on_exit.as_ref() {
|
||||||
shell.publish(message())
|
shell.publish(message())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue