aboutsummaryrefslogtreecommitdiff
path: root/src/fields/CursorField.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-03-22 11:32:47 -0400
committerbobzel <zzzman@gmail.com>2022-03-22 11:32:47 -0400
commit810f86195188503b04d64f9d58ea4dfc3a639398 (patch)
tree2e0f252147dd65f36069426df4fe5369423427dc /src/fields/CursorField.ts
parent0885f2b6ea10bdc54f587040ea8e6dc90ef5b0f3 (diff)
fixed temporal media merge that had reverted a lot of things.
Diffstat (limited to 'src/fields/CursorField.ts')
-rw-r--r--src/fields/CursorField.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/CursorField.ts b/src/fields/CursorField.ts
index 28467377b..a8a2859d2 100644
--- a/src/fields/CursorField.ts
+++ b/src/fields/CursorField.ts
@@ -50,7 +50,7 @@ export default class CursorField extends ObjectField {
setPosition(position: CursorPosition) {
this.data.position = position;
this.data.metadata.timestamp = Date.now();
- this[OnUpdate]();
+ this[OnUpdate]?.();
}
[Copy]() {