show speed number and slider
This commit is contained in:
parent
038bf365c4
commit
92d540c29b
3 changed files with 38 additions and 5 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue