diff options
author | bobzel <zzzman@gmail.com> | 2021-10-07 09:43:19 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-10-07 09:43:19 -0400 |
commit | 8f1a6266cf0a728ab2b7df11d45a023de266fae4 (patch) | |
tree | a2f9722abc1132a7af8428c8a7992794c9417719 /src/Utils.ts | |
parent | 43496b4cd19a06d2682f2416a4273e25cdcb55a0 (diff) |
link menu ui tweaking. edge case checks for linkrelationship stuff. default links to have linkAutoMove
Diffstat (limited to 'src/Utils.ts')
-rw-r--r-- | src/Utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.ts b/src/Utils.ts index 7ec4f69f3..53182cc9c 100644 --- a/src/Utils.ts +++ b/src/Utils.ts @@ -575,7 +575,7 @@ export function simulateMouseClick(element: Element | null | undefined, x: numbe export function DashColor(color: string) { try { - return Color(color.toLowerCase()); + return color ? Color(color.toLowerCase()) : Color("transparent"); } catch (e) { console.log("COLOR error:", e); return Color("red"); |