wgui: prevent data copy, parser data

This commit is contained in:
Aleksander
2025-09-21 13:39:14 +02:00
parent cd18bdcea8
commit 7a97e9dee2
4 changed files with 157 additions and 73 deletions

View File

@@ -18,7 +18,7 @@ where
let state = BarState {};
let mut panel = GuiPanel::new_from_template(app, "gui/bar.xml", state, None)?;
for (id, _widget_id) in &panel.parser_state.ids {
for (id, _widget_id) in &panel.parser_state.data.ids {
match id.as_ref() {
"lock" => {}
"anchor" => {}