diff --git a/theatre/core/src/sheetObjects/SheetObjectTemplate.ts b/theatre/core/src/sheetObjects/SheetObjectTemplate.ts index 61c530c..77162fe 100644 --- a/theatre/core/src/sheetObjects/SheetObjectTemplate.ts +++ b/theatre/core/src/sheetObjects/SheetObjectTemplate.ts @@ -109,7 +109,7 @@ export default class SheetObjectTemplate { } registerAction(name: string, action: SheetObjectAction) { - this._actions.setIn([name], action) + this._actions.setByPointer((p) => p[name], action) } /**