1786826782
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user