xml anchor + GuiPanel minor refactor

This commit is contained in:
galister
2025-06-20 02:40:27 +09:00
parent d1e3f51b8a
commit 10aab5451f
6 changed files with 38 additions and 67 deletions

View File

@@ -18,8 +18,8 @@ pub fn create_custom(
unreachable!();
let panel = GuiPanel::new_blank(app, 2048).ok()?;
panel.layout.update(vec2(2048., 2048.), 0.0).ok()?;
let panel = GuiPanel::new_blank(app).ok()?;
panel.update_layout().ok()?;
let state = OverlayState {
name,