MediumFast on top

This commit is contained in:
Anton Roslund 2025-09-21 19:19:46 +02:00
parent b2473b419a
commit 4d2ad549db

View file

@ -3562,6 +3562,8 @@
tagName: node.node_id,
// we want to show online nodes above offline, but without needing to use separate layer groups
//zIndexOffset: nodeHasUplinkedToMqttRecently ? 1000 : -1000,
// show mediumfast nodes above longfast nodes
zIndexOffset: node.channel_id == "MediumFast" ? 1000 : -1000,
}).on('click', function(event) {
// close tooltip on click to prevent tooltip and popup showing at same time
event.target.closeTooltip();