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

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

View File

@@ -133,6 +133,7 @@ impl SkController {
}
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));
}
}