mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 15:39:49 +00:00
Fix variable name shadowing in TopMenuContainer
This commit is contained in:
parent
13070b6244
commit
8ab71490cf
|
@ -873,8 +873,8 @@ func _toggle_show_mouse_guides() -> void:
|
|||
func _toggle_zen_mode() -> void:
|
||||
for i in ui_elements.size():
|
||||
var index := panels_submenu.get_item_index(i)
|
||||
var name := ui_elements[i].name
|
||||
if name == "Main Canvas" or name == "Tiles":
|
||||
var panel_name := ui_elements[i].name
|
||||
if panel_name == "Main Canvas" or panel_name == "Tiles":
|
||||
continue
|
||||
if !panels_submenu.is_item_checked(index):
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue