From d294f008217895fbf24f70c8271cd8dce2f202c8 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Wed, 27 Aug 2008 15:51:59 -0400 Subject: [PATCH] Bugfix for workflow editor. --- static/scripts/galaxy.workflow_editor.canvas.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/scripts/galaxy.workflow_editor.canvas.js b/static/scripts/galaxy.workflow_editor.canvas.js index 54bf5eef618..c53cc427345 100644 --- a/static/scripts/galaxy.workflow_editor.canvas.js +++ b/static/scripts/galaxy.workflow_editor.canvas.js @@ -483,7 +483,8 @@ function prebuild_node( type, title_text, tool_id ) { // zIndex tracking for bring to front zmax = $("#canvas-container").data( "zmax" ) if ( ! zmax ) { - zmax = 0; + // Start above level where connectors are drawn + zmax = 20; } f.css( "zIndex", zmax + 1 ); $("#canvas-container").data( "zmax", zmax + 1 );