Update example
This commit is contained in:
parent
8f19c83762
commit
20fe936017
2 changed files with 8 additions and 8 deletions
1
ui.odin
1
ui.odin
|
|
@ -135,7 +135,6 @@ focus_next_element :: proc(ctx: ^Context, allowed_focus := element_type_input) {
|
|||
}
|
||||
ctx.element_focus_id += 1
|
||||
for ctx.element_focus_id < len(ctx.elements) {
|
||||
fmt.println(ctx.elements[ctx.element_focus_id].type)
|
||||
if ctx.elements[ctx.element_focus_id].type in allowed_focus {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue