Skip to content

Commit

Permalink
fix(annotations): fix toggling of default annotation subsources
Browse files Browse the repository at this point in the history
In 93a57ab a bug was introduced that
prevented default annotation subsources from rendering if they were
enabled, then disabled, then enabled again.
  • Loading branch information
jbms committed Jan 21, 2025
1 parent 85231c0 commit 90e8ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/annotations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2043,6 +2043,7 @@ export function UserLayerWithAnnotationsMixin<
subsourceId: subsourceEntry.id,
role,
});
this.annotationDisplayState.annotationProperties.value = [];
this.addAnnotationLayerState(state, loadedSubsource);
}

Expand Down

0 comments on commit 90e8ace

Please sign in to comment.