mirror of
https://github.com/tiennm99/WPlace-AutoBOT.git
synced 2026-10-17 22:14:03 +00:00
been a while since last update
This commit is contained in:
1 parent
8f5cb1ad79
commit
dd0cad69e6
8 files changed
+11377
-10888
No files matched your search
@@ -1165,6 +1165,13 @@ class WPlaceUtilsManager {
|
||||
|
||||
try {
|
||||
console.log('🔄 Restoring overlay from saved data...');
|
||||
console.log('📊 Pixel data info:', {
|
||||
width: window.state.imageData.width,
|
||||
height: window.state.imageData.height,
|
||||
pixelCount: window.state.imageData.pixels?.length,
|
||||
firstPixels: window.state.imageData.pixels?.slice(0, 12), // First 3 pixels (RGBA)
|
||||
isProcessed: '⚠️ These should be PROCESSED pixels if saved after processing'
|
||||
});
|
||||
|
||||
// Recreate ImageBitmap from loaded pixel data (match old version exactly)
|
||||
const imageData = new ImageData(
|
||||
|
||||
Reference in new issue
Block a user