forked from Blendman974/faceclaw
Phone CPU usage optimization
This commit is contained in:
1 parent
44eddedc01
commit
9560f3ac8d
26 files changed
+606
-167
No files matched your search
@@ -149,7 +149,9 @@ export class GrayImage {
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
this.pixels = new Uint8Array(width * height);
|
||||
this.clear(fill);
|
||||
if (fill !== 0) {
|
||||
this.clear(fill);
|
||||
}
|
||||
}
|
||||
|
||||
get draws(): readonly DeferredDraw[] {
|
||||
|
||||
Reference in new issue
Block a user