From 1007833e6b0d28cf78e71ed823bdbca14a0c0317 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Fri, 15 Jul 2016 12:02:07 +0200 Subject: fix --- derivation-editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/derivation-editor.js b/derivation-editor.js index 5a6bf7e..2ecbcd4 100644 --- a/derivation-editor.js +++ b/derivation-editor.js @@ -1121,6 +1121,7 @@ var isOnScreen = function(obj) var check_isOnScreen = function (obj) { + if (DE_target_shapes.length<2) return; var x = isOnScreen(obj) while (x < 2) { if (x == 0) { -- cgit v1.2.3