How to fix this?
Where I have to use this variable?
File 1, with namespace "debug"
"debug_panel": {
"type": "stack_panel",
"orientation": "vertical",
"controls": [
{ "[email protected]": {} },
{ "[email protected]_what_aux_id": {} },
{ "[email protected]_image": { "alpha": 0 } },
{ "[email protected]_what_item_id": {} },
{ "[email protected]_image": { "alpha": 0 } },
{ "[email protected]": {} }
],
"bindings": [
{
"binding_type": "view",
"source_control_name": "debug_switch",
"source_property_name": "#toggle_state",
"target_property_name": "#visible"
}
]
}
File 2, with namespace "buttons"
"switch@common_toggles.light_ui_toggle": {
"$toggle_view_binding_name": "debug_switch",
"$template_toggle|default": "templates.light_template_toggle",
"bindings": [
{
"binding_name": "#hud_visible",
"binding_name_override": "#visible",
"binding_type": "global"
}
]
},
"[email protected]": {
"$pressed_view_binding_name": "debug_switch",
"$button_content": "buttons.icon_debug",
"$pressed_button_name": "nothing",
"$focus_id": "debug_focus_id",
"$button_tts_header": "accessibility.gui.tts.debug",
"controls": [
{ "[email protected]": {} }
]
}