From 79d621c71f3c6623656fa0b80914d449c6385e8e Mon Sep 17 00:00:00 2001 From: Richard Hitier Date: Thu, 2 Nov 2023 18:30:55 +0100 Subject: [PATCH] Dont draw orbit for target.type.input --- web/static/js/main.js | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) diff --git a/web/static/js/main.js b/web/static/js/main.js index d71770e..0965561 100644 --- a/web/static/js/main.js +++ b/web/static/js/main.js @@ -232,6 +232,9 @@ } }); this.targets[target_slug].active = true; + if( this.targets[target_slug].config.type == 'input'){ + return this; + } if ((ref$ = this.orbits) != null) { ref$.enableTarget(target_slug); } @@ -246,6 +249,9 @@ } }); this.targets[target_slug].active = false; + if( this.targets[target_slug].config.type == 'input'){ + return this; + } if ((ref$ = this.orbits) != null) { ref$.disableTarget(target_slug); } -- libgit2 0.21.2