summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {