empty rect for watch placeholder

This commit is contained in:
galister
2025-06-20 06:00:31 +09:00
parent d9b3b99e0d
commit b35020cd80

View File

@@ -1,10 +1,7 @@
use glam::{Vec3A, vec2};
use glam::Vec3A;
use wgui::{
parser::parse_color_hex,
taffy::{
self,
prelude::{length, percent},
},
taffy::{self, prelude::length},
widget::{
rectangle::{Rectangle, RectangleParams},
util::WLength,
@@ -37,8 +34,8 @@ where
.unwrap(),
taffy::Style {
size: taffy::Size {
width: percent(1.0),
height: percent(1.0),
width: length(100.),
height: length(50.),
},
align_items: Some(taffy::AlignItems::Center),
justify_content: Some(taffy::JustifyContent::Center),