From e73647f59ed128eabc8052d7b24c40845fd75dae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Christiaens?= Date: Wed, 18 Mar 2026 11:36:29 +0100 Subject: [PATCH] fix: update field names in serializeVisibleElements to use producer and consumer names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Clément Christiaens --- src/store/files.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/store/files.js b/src/store/files.js index 807b19200b..91cc3ae3a4 100644 --- a/src/store/files.js +++ b/src/store/files.js @@ -867,10 +867,11 @@ const _filesStore = defineStore('files', () => { } const coordinates = element.coordinates && typeof element.coordinates === 'object' ? { - x: element.coordinates.x, - y: element.coordinates.y, - w: element.coordinates.w, - h: element.coordinates.h, + page: element.coordinates.page, + top: element.coordinates.top, + left: element.coordinates.left, + width: element.coordinates.width, + height: element.coordinates.height, } : undefined return {