Update Extension/scripts/utils-manager.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
SKProCHandCopilot authored and GitHub committed 2025-10-09 16:01:38 +03:00
1 parent a9e4316e07
commit 5b83e5d6d3
1 file changed
+1 -3
+1 -3
View File
@@ -1396,9 +1396,7 @@ WPlaceUtilsManager.prototype.storePixelsInIndexedDB = async function(ref, payloa
width: payload.width,
height: payload.height,
totalPixels: payload.totalPixels,
pixels: payload.pixels instanceof Uint8Array || payload.pixels instanceof Uint8ClampedArray
? new Uint8Array(payload.pixels)
: new Uint8Array(payload.pixels),
pixels: new Uint8Array(payload.pixels),
createdAt: Date.now(),
};
const req = store.put(data);