diff options
author | bobzel <zzzman@gmail.com> | 2023-05-21 22:25:28 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-05-21 22:25:28 -0400 |
commit | ad32fce170ffeef8e03c108569113dca9de15d5d (patch) | |
tree | b7c9dda79e8f56d6f2cd106ec2db7197fbac3323 /src/Utils.ts | |
parent | 6d38405169b6475ed84baf7de81d01482c3d5fce (diff) |
fixed comparisonBox to create embeddings of documents by fixing targetDropAction to work for non-collections. fixed carouse3D view to have correct screentolocal XFs,
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 73de6d754..f2ad814d4 100644 --- a/src/Utils.ts +++ b/src/Utils.ts @@ -540,7 +540,7 @@ export function returnNone() { } export function returnVal(val1?: number, val2?: number) { - return val1 !== undefined ? val1 : val2 !== undefined ? val2 : 0; + return val1 ? val1 : val2 !== undefined ? val2 : 0; } export function returnOne() { |