diff options
| author | bobzel <zzzman@gmail.com> | 2021-01-27 17:30:36 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-01-27 17:30:36 -0500 |
| commit | e24584cc674f763aec5d0e8f55f95a1d4c14522f (patch) | |
| tree | 1ef287b3bb39f7367c506bcd6143bc44e96174e6 /src/client/views/collections | |
| parent | bc8504151c8b6cb8c427f1f3c97c7f44eebc9426 (diff) | |
fixed undo for timeline region creation. fixed inking tools display after deleting an active text. box
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/CollectionStackedTimeline.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx index 4b14c3508..21fbef1ac 100644 --- a/src/client/views/collections/CollectionStackedTimeline.tsx +++ b/src/client/views/collections/CollectionStackedTimeline.tsx @@ -16,6 +16,7 @@ import { CollectionSubView } from "../collections/CollectionSubView"; import { DocumentView } from "../nodes/DocumentView"; import { LabelBox } from "../nodes/LabelBox"; import "./CollectionStackedTimeline.scss"; +import { undoBatch } from "../../util/UndoManager"; type PanZoomDocument = makeInterface<[]>; const PanZoomDocument = makeInterface(); @@ -164,6 +165,7 @@ export class CollectionStackedTimeline extends CollectionSubView<PanZoomDocument } } + @undoBatch @action createAnchor(anchorStartTime?: number, anchorEndTime?: number) { if (anchorStartTime === undefined) return this.props.Document; |
