canvas added from array

This commit is contained in:
Djeeberjr 2022-05-06 13:37:18 +02:00
parent 879e68d70d
commit 6a933768d9

View File

@ -4,7 +4,7 @@ import util.Pos;
import util.Rect;
import kernel.ui.Pixel;
abstract Canvas(Array<Array<Pixel>>) to Array<Array<Pixel>>{
abstract Canvas(Array<Array<Pixel>>) to Array<Array<Pixel>> from Array<Array<Pixel>>{
inline public function new() {
this = [[]];
}