1786826782

This commit is contained in:
2026-08-15 22:46:22 +02:00
parent b7fce915ca
commit a9b4e75539
3 changed files with 18 additions and 12 deletions

View File

@@ -99,7 +99,7 @@ impl Platform for Trekstor {
position: LogicalPosition::new(input.x as f32, input.y as f32),
button: slint::platform::PointerEventButton::Left,
})
.unwrap();
.ok();
}
if input.is_just_released(KeyCode::BTN_TOUCH) {
@@ -108,7 +108,7 @@ impl Platform for Trekstor {
position: LogicalPosition::new(input.x as f32, input.y as f32),
button: slint::platform::PointerEventButton::Left,
})
.unwrap();
.ok();
}
if input.is_down(KeyCode::BTN_TOUCH) {
@@ -116,7 +116,7 @@ impl Platform for Trekstor {
.try_dispatch_event(WindowEvent::PointerMoved {
position: LogicalPosition::new(input.x as f32, input.y as f32),
})
.unwrap();
.ok();
}
if self.quit_flag.load(Ordering::SeqCst) {