make more ui disableable
This commit is contained in:
parent
6fc41bdb17
commit
b5600b301d
3 changed files with 38 additions and 32 deletions
|
@ -207,6 +207,7 @@ impl Game {
|
|||
for (solution_index, solution) in solutions.iter().enumerate() {
|
||||
if simple_option_button(
|
||||
d,
|
||||
&mouse,
|
||||
level_list_width + 10,
|
||||
solution_y,
|
||||
entry_width,
|
||||
|
@ -263,6 +264,7 @@ impl Game {
|
|||
let bounds = Rectangle::new(column_x as f32, y as f32, 220., 30.);
|
||||
if text_input(
|
||||
d,
|
||||
&mouse,
|
||||
bounds,
|
||||
&mut solution.name,
|
||||
&mut self.editing_solution_name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue