From c5082fd752eca6b283f0be5aad26e8b017940f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauro=20Ferr=C3=A3o?= Date: Mon, 6 Nov 2023 16:25:52 +0000 Subject: [PATCH] Layout editor viewer: Element Groups with layer 0 show out of order (#2201) relates to xibosignage/xibo#3221 --- ui/src/layout-editor/viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/layout-editor/viewer.js b/ui/src/layout-editor/viewer.js index 857b460b2e..3adf541b42 100644 --- a/ui/src/layout-editor/viewer.js +++ b/ui/src/layout-editor/viewer.js @@ -1453,7 +1453,7 @@ Viewer.prototype.renderElement = function( }); // Update element group index - if (element.group.layer) { + if (element.group.layer != undefined) { $groupContainer.css({ 'z-index': element.group.layer, });