1786006902

This commit is contained in:
2026-08-06 11:01:42 +02:00
parent 9bf6ade6c0
commit dfa753445d

View File

@@ -18,7 +18,7 @@ fn main() {
trekstor.update(|ctx, state| {
// retuyrningf false will exit loop
if ctx.input.is_just_released(KeyCode::BTN_TOUCH) {
if ctx.input.is_down(KeyCode::BTN_TOUCH) {
println!("Released {}x{}", ctx.input.x, ctx.input.y);
state.x = ctx.input.x;
state.y = ctx.input.y;