From 711bbbd5b7955fe71767fd6cc3cbe76bc3380b96 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Fri, 6 Nov 2015 18:50:38 +0100 Subject: reset others --- derivation-editor.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'derivation-editor.js') diff --git a/derivation-editor.js b/derivation-editor.js index 0804b87..eecf90a 100644 --- a/derivation-editor.js +++ b/derivation-editor.js @@ -489,6 +489,15 @@ var DE_make_obj = function (x, text, type) sh.mouseover(function() { if (DE_dragging) return; if (DE_edit_mode) return; + + // reset others + for (c in DE_connections) { + DE_connections[c].line.attr({"stroke":DE_ui_align_stroke,"stroke-width":DE_ui_stroke_width}); + } + for (sh in DE_shapes_by_id) { + DE_shapes_by_id[sh].attr({"stroke-width":DE_ui_stroke_width}); + } + var idx, other_idx; if (this["type_"] == "target") { idx = 1; -- cgit v1.2.3