fixed typo

This commit is contained in:
2022-05-01 00:06:08 +02:00
parent f7e7059641
commit f21dd48106
2 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ abstract Canvas(Array<Array<Pixel>>) to Array<Array<Pixel>>{
}
}
public function hight():Int {
public function height():Int {
return this.length;
}
@@ -64,7 +64,7 @@ abstract Canvas(Array<Array<Pixel>>) to Array<Array<Pixel>>{
public function getBounds(): Rect {
return new Rect({x:0,y:0},{
x: maxWidth(),
y: hight()
y: height()
});
}
}