add offset / scrolling + clipboard support
This commit is contained in:
@@ -85,7 +85,7 @@ pub enum Align {
|
||||
}
|
||||
|
||||
impl Align {
|
||||
pub const fn anchor(&self) -> Vec2 {
|
||||
pub const fn rel(&self) -> Vec2 {
|
||||
match self {
|
||||
Self::TopLeft => vec2(0.0, 0.0),
|
||||
Self::Top => vec2(0.5, 0.0),
|
||||
|
||||
Reference in New Issue
Block a user