summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-07-15 12:02:07 +0200
committerPatrick Simianer <p@simianer.de>2016-07-15 12:02:07 +0200
commit1007833e6b0d28cf78e71ed823bdbca14a0c0317 (patch)
tree37193e6d94d55ac1ee96b01cce68b60bc522819e
parent63202e5b6ad262a968c3d88a1faf45dcd148b56b (diff)
-rw-r--r--derivation-editor.js1
1 files changed, 1 insertions, 0 deletions
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) {