From e8dfab623aee36115074d238c6792eb0e0069d5a Mon Sep 17 00:00:00 2001 From: Chris Jordan Date: Wed, 2 Oct 2024 18:17:35 -0400 Subject: [PATCH] quick fix for tags breaking precomputed annotations --- src/annotation/frontend_source.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/annotation/frontend_source.ts b/src/annotation/frontend_source.ts index f150a4d12..f0c84629b 100644 --- a/src/annotation/frontend_source.ts +++ b/src/annotation/frontend_source.ts @@ -56,7 +56,7 @@ import { SliceViewChunkSource, } from "#src/sliceview/frontend.js"; import { StatusMessage } from "#src/status.js"; -import type { WatchableValue } from "#src/trackable_value.js"; +import { WatchableValue } from "#src/trackable_value.js"; import type { Borrowed, Owned } from "#src/util/disposable.js"; import { ENDIANNESS, Endianness } from "#src/util/endian.js"; import * as matrix from "#src/util/matrix.js"; @@ -532,7 +532,7 @@ export class MultiscaleAnnotationSource ) { super(); this.rank = options.rank; - this.properties.value = options.properties; + this.properties = new WatchableValue(options.properties); this.annotationPropertySerializers = makeAnnotationPropertySerializers( this.rank, this.properties.value,