diff --git a/client/src/components/editor/PixelCanvas.vue b/client/src/components/editor/PixelCanvas.vue index 2015db2..196f9ed 100644 --- a/client/src/components/editor/PixelCanvas.vue +++ b/client/src/components/editor/PixelCanvas.vue @@ -81,7 +81,7 @@ onMounted(() => { drawAll(); }); -watch(() => [props.zoom, props.width, props.height], drawAll); +watch(() => [props.zoom, props.width, props.height, props.pixels], drawAll); // Efficiently handle remote pixel updates - only redraw the changed pixel watch(() => props.pixelUpdateEvent, (event) => {