swapchain sizes from content size
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use glam::Vec3A;
|
||||
use glam::{Vec3A, vec2};
|
||||
use wgui::{
|
||||
parser::parse_color_hex,
|
||||
taffy::{
|
||||
@@ -52,6 +52,8 @@ where
|
||||
lerp: 1.0,
|
||||
};
|
||||
|
||||
panel.layout.update(vec2(2048., 2048.), 0.0)?;
|
||||
|
||||
Ok(OverlayData {
|
||||
state: OverlayState {
|
||||
name: WATCH_NAME.into(),
|
||||
|
||||
Reference in New Issue
Block a user