fix(input): don't limit to closest handler

This commit is contained in:
Nova
2025-04-19 01:32:35 -07:00
parent 9dea86c7df
commit e7ac09589e
4 changed files with 27 additions and 21 deletions

View File

@@ -179,7 +179,8 @@ impl SkHand {
}
let sorted_handlers = get_sorted_handlers(&self.input, distance_calculator);
self.input.set_handler_order(sorted_handlers.iter());
self.input
.set_handler_order(sorted_handlers.iter().map(|(handler, _)| handler));
}
}
impl Drop for SkHand {