maybe fix relative len for sized span

This commit is contained in:
iris committed 2025-08-28 18:28:14 -04:00
1 parent a0e6623abe
commit 46c7d8ba26
3 files changed
+1 -3

No files matched your search

-1
View File
@@ -158,7 +158,6 @@ impl<'a> Painter<'a> {
pub fn size_ctx(&mut self) -> SizeCtx {
SizeCtx {
screen_size: self.screen_size,
size: self.region().in_size(self.screen_size),
text: self.text,
textures: self.textures,
-1
View File
@@ -10,7 +10,6 @@ pub trait Widget: Any {
}
pub struct SizeCtx<'a> {
pub screen_size: Vec2,
pub size: Vec2,
pub text: &'a mut TextData,
pub textures: &'a mut Textures,