fixed typo
This commit is contained in:
@@ -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()
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user