diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-04-06 14:47:56 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-04-06 14:47:56 -0400 |
| commit | 5d9dad7900342283457b2315e29135d30d70fe5d (patch) | |
| tree | 945c5f3055e4e7875bca8919c8b8b41db64dfba7 /src/client/views/collections/CollectionView.tsx | |
| parent | b3ab8f6413b9bd8b01c23cc8fdb6a6fc61403490 (diff) | |
| parent | cc5251534850bf3dd7bb39be54e8dbd7cb73dc9f (diff) | |
Merge branch 'nativeWidthProps'
Diffstat (limited to 'src/client/views/collections/CollectionView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionView.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index 5d08a2bd8..183d01b74 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -248,6 +248,8 @@ export class CollectionView extends Touchable<FieldViewProps> { if (this.props.Document.childDetailed instanceof Doc) { layoutItems.push({ description: "View Child Detailed Layout", event: () => this.props.addDocTab(this.props.Document.childDetailed as Doc, "onRight"), icon: "project-diagram" }); } + layoutItems.push({ description: "Toggle is inPlace Container", event: () => this.props.Document.isInPlaceContainer = !this.props.Document.isInPlaceContainer, icon: "project-diagram" }); + !existing && ContextMenu.Instance.addItem({ description: "Layout...", subitems: layoutItems, icon: "hand-point-right" }); const open = ContextMenu.Instance.findByDescription("Open..."); |
