From 53ab4dbf9d45356939d4974d812889c527770bfa Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Thu, 1 Dec 2022 14:53:09 +0100 Subject: [PATCH] Fix a bug causing Sequences to not be playable --- theatre/core/src/sequences/Sequence.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theatre/core/src/sequences/Sequence.ts b/theatre/core/src/sequences/Sequence.ts index 487fd2d..b0c42b6 100644 --- a/theatre/core/src/sequences/Sequence.ts +++ b/theatre/core/src/sequences/Sequence.ts @@ -44,7 +44,7 @@ export default class Sequence { _playableRangeD: undefined | Prism<{start: number; end: number}> readonly pointer: ISequence['pointer'] = pointer({root: this, path: []}) - readonly $$isIdentityDerivationProvider = true + readonly $$isIdentityPrismProvider = true readonly _logger: ILogger constructor( @@ -81,7 +81,7 @@ export default class Sequence { }) } - getIdentityDerivation(path: Array): Prism { + getIdentityPrism(path: Array): Prism { if (path.length === 0) { return prism((): ISequence['pointer']['$$__pointer_type'] => ({ length: val(this.pointer.length),