fix(invert): allows volume viewport to invert and sync their invert status (#3514)

This commit is contained in:
Alireza authored and GitHub committed 2023-07-06 12:09:34 -04:00
1 parent f3a4f861b4
commit 4a184d0be7
12 files changed
+59 -64

No files matched your search

@@ -15,7 +15,7 @@ const EVENTS = {
* sync group declared.
*/
export type SyncCreator = (
type: string,
id: string,
options?: Record<string, unknown>
) => Synchronizer;
@@ -83,7 +83,7 @@ export default class SyncGroupService {
* @param type is the type of the synchronizer to create
* @param creator
*/
public setSynchronizer(type: string, creator: SyncCreator): void {
public addSynchronizerType(type: string, creator: SyncCreator): void {
this.synchronizerCreators[type.toLowerCase()] = creator;
}