fix clippy warnings in scene and host paths

This commit is contained in:
2026-04-24 15:47:53 +01:00
parent 92be3b90fb
commit 0c8de434cf
5 changed files with 69 additions and 70 deletions
@@ -54,15 +54,13 @@ impl HostInputHandler {
self.signals.y_pos = v.1;
}
WindowEvent::MouseInput { state, button, .. } => {
if *button == MouseButton::Left {
match state {
ElementState::Pressed => {
self.signals.f_signal = true;
}
ElementState::Released => {
self.signals.f_signal = false;
}
WindowEvent::MouseInput { state, button, .. } if *button == MouseButton::Left => {
match state {
ElementState::Pressed => {
self.signals.f_signal = true;
}
ElementState::Released => {
self.signals.f_signal = false;
}
}
}