show speed number and slider

This commit is contained in:
Crispy 2024-10-07 14:16:50 +02:00
parent 038bf365c4
commit 92d540c29b
3 changed files with 38 additions and 5 deletions

View file

@ -189,6 +189,7 @@ impl Game {
if simple_button(d, level_list_width + 10, solution_y, entry_width, 30) {
let n = solutions.len();
self.selected_solution = solutions.len();
solutions.push(Solution::new(level, n));
}
d.draw_text(