autocommit 2022-02-19 19:41:18 CET
This commit is contained in:
parent
bb0468feea
commit
ae66acef73
32 changed files with 880 additions and 164 deletions
|
|
@ -115,6 +115,7 @@ impl Rect {
|
|||
self.x1 == self.x2 || self.y1 == self.y2
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn to_origin(&self) -> Self {
|
||||
Self {
|
||||
x1: 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue