been a while since last update

This commit is contained in:
MiraclePatrickLumowa authored and GitHub committed 2025-10-13 01:14:11 +08:00
1 parent 8f5cb1ad79
commit dd0cad69e6
8 files changed
+11377 -10888

No files matched your search

+11301 -10853
View File
File diff suppressed because it is too large. Load diff
+2
View File
@@ -149,6 +149,7 @@ class OverlayManager {
// Method 2: Force browser to bypass cache by adding cache-busting parameter
// We need to intercept and modify tile requests to add cache-busting
// IMPORTANT: Preserve any existing fetch override (e.g., from Auto-Image assist mode)
const originalFetch = window.fetch;
let fetchOverrideActive = true;
@@ -167,6 +168,7 @@ class OverlayManager {
}
}
// Chain to previous fetch (which may have assist mode logic)
return originalFetch.apply(this, args);
};
+7
View File
@@ -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(