hardcoded settings & trigger canvas cache upon undoing pixels

This commit is contained in:
Grant 2024-07-12 03:03:06 -06:00
parent 10a510c42c
commit 02329f01a4
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class Canvas {
frozen: this.isFrozen,
zoom: 7,
pixel: {
cooldown: 10,
cooldown: 30,
multiplier: 3,
maxStack: 6,
},
@ -326,6 +326,8 @@ class Canvas {
pixels.map((pixel) => this.undoPixel(pixel))
);
await this.canvasToRedis();
Logger.info(
"Finished undo area in " + ((Date.now() - now) / 1000).toFixed(2) + "s"
);