mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
2cda49fc38
commit
d6f6efc189
@ -260,6 +260,9 @@
|
|||||||
showTray(options);
|
showTray(options);
|
||||||
},250)
|
},250)
|
||||||
} else {
|
} else {
|
||||||
|
if (stack.length > 0) {
|
||||||
|
stack[stack.length-1].tray.css("z-index", 0);
|
||||||
|
}
|
||||||
RED.events.emit("editor:open");
|
RED.events.emit("editor:open");
|
||||||
showTray(options);
|
showTray(options);
|
||||||
}
|
}
|
||||||
@ -301,7 +304,7 @@
|
|||||||
oldTray.tray.css({right:0});
|
oldTray.tray.css({right:0});
|
||||||
if (oldTray.options.show) {
|
if (oldTray.options.show) {
|
||||||
raiseTrayZ();
|
raiseTrayZ();
|
||||||
handleWindowResize();//cause call to monaco layout
|
handleWindowResize();//cause call to monaco layout
|
||||||
oldTray.options.show();
|
oldTray.options.show();
|
||||||
}
|
}
|
||||||
},0);
|
},0);
|
||||||
@ -322,6 +325,8 @@
|
|||||||
$(".red-ui-sidebar-shade").hide();
|
$(".red-ui-sidebar-shade").hide();
|
||||||
RED.events.emit("editor:close");
|
RED.events.emit("editor:close");
|
||||||
RED.view.focus();
|
RED.view.focus();
|
||||||
|
} else {
|
||||||
|
stack[stack.length-1].tray.css("z-index", "auto");
|
||||||
}
|
}
|
||||||
},250)
|
},250)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user