stuff for ime positioning

This commit is contained in:
2025-11-17 22:49:22 -05:00
parent 4981bd739a
commit bc829397c8
4 changed files with 34 additions and 11 deletions

View File

@@ -43,6 +43,10 @@ impl Vec2 {
y: self.y.ceil(),
}
}
pub const fn tuple(&self) -> (f32, f32) {
(self.x, self.y)
}
}
impl<T: const UiNum + Copy> const From<T> for Vec2 {