From 5bb69c0733417b1cb5df5f1c4af13394d22950a4 Mon Sep 17 00:00:00 2001 From: Luka Trovic Date: Tue, 5 May 2026 17:54:04 +0200 Subject: [PATCH] fix: adjust z-index for color picker modals Signed-off-by: Luka Trovic --- src/components/ImageEditor.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ImageEditor.vue b/src/components/ImageEditor.vue index 66de6639a..60839d4db 100644 --- a/src/components/ImageEditor.vue +++ b/src/components/ImageEditor.vue @@ -189,7 +189,7 @@ export default { mutations.forEach((mutation) => { if (mutation.type === 'childList') { mutation.addedNodes.forEach((node) => { - if (node.classList.contains('FIE_root') || node.classList.contains('SfxModal-Wrapper')) { + if (node.classList?.contains('FIE_root') || node.classList?.contains('SfxModal-Wrapper')) { emit('viewer:trapElements:changed', node) } }) @@ -366,7 +366,7 @@ export default {