wip: swapchain sizes ditcated by wgui

This commit is contained in:
galister
2025-06-19 02:21:44 +09:00
parent e09783791f
commit a03a855f19
6 changed files with 17 additions and 24 deletions

View File

@@ -18,7 +18,7 @@ pub fn create_anchor<O>(app: &mut AppState) -> anyhow::Result<OverlayData<O>>
where
O: Default,
{
let mut panel = GuiPanel::new_blank(app, 200, 200)?;
let mut panel = GuiPanel::new_blank(app, 200)?;
let (rect, _) = panel.layout.add_child(
panel.layout.root_widget,