1786009593
This commit is contained in:
@@ -17,7 +17,6 @@ fn main() {
|
||||
let mut trekstor = Trekstor::new(60, app_state);
|
||||
|
||||
trekstor.update(|ctx, state| {
|
||||
// retuyrningf false will exit loop
|
||||
if ctx.input.is_just_released(KeyCode::BTN_TOUCH) {
|
||||
println!("Released {}x{}", ctx.input.x, ctx.input.y);
|
||||
state.x = ctx.input.x;
|
||||
|
||||
Reference in New Issue
Block a user