diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionStackedTimeline.tsx | 1 | ||||
-rw-r--r-- | src/fields/Doc.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx index e1e2990a0..16401bf01 100644 --- a/src/client/views/collections/CollectionStackedTimeline.tsx +++ b/src/client/views/collections/CollectionStackedTimeline.tsx @@ -760,6 +760,7 @@ class StackedTimelineAnchor extends React.Component<StackedTimelineAnchorProps> e, (e) => { if (!undo) undo = UndoManager.StartBatch("drag anchor"); + this.props.setTime(newTime(e)); return changeAnchor(anchor, left, newTime(e)); }, (e) => { diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index d8690831f..61ad76412 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -345,6 +345,7 @@ export namespace Doc { return GetT(doc, "system", "boolean", true); } export async function SetInPlace(doc: Doc, key: string, value: Field | undefined, defaultProto: boolean) { + if (key.startsWith("_")) key = key.substring(1); const hasProto = doc.proto instanceof Doc; const onDeleg = Object.getOwnPropertyNames(doc).indexOf(key) !== -1; const onProto = hasProto && Object.getOwnPropertyNames(doc.proto).indexOf(key) !== -1; |