This commit is contained in:
Cory Forsstrom 2023-01-04 10:17:40 -08:00
parent ff49a95eca
commit e8aee70a69
No known key found for this signature in database
GPG key ID: 1DFE170A4415C9F5

View file

@ -86,7 +86,7 @@ pub enum Location {
}
impl Location {
fn to_absolute(&self, top_left: Point, size: Size) -> Point {
fn to_absolute(self, top_left: Point, size: Size) -> Point {
match self {
Location::TopLeft => top_left,
Location::Top => {