diff options
| author | Sam Wilkins <35748010+samwilkins333@users.noreply.github.com> | 2019-06-26 12:51:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-26 12:51:18 -0400 |
| commit | deb85766ac5648cc8e3ab4bf9d182ac5bbbbe144 (patch) | |
| tree | 2d89512eab9c7ba4a976229a87e33675616ebe57 /src/client/views/collections/CollectionSchemaView.tsx | |
| parent | 219cabb3fe42ab199550efc3423b7aaed4e1ee93 (diff) | |
| parent | 5e477755b392128ab8b39c082f16dd67708be0d2 (diff) | |
Merge pull request #170 from browngraphicslab/presentation-selection-mohammad
Presentation selection mohammad
Diffstat (limited to 'src/client/views/collections/CollectionSchemaView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSchemaView.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx index 9cc8961e3..97781f722 100644 --- a/src/client/views/collections/CollectionSchemaView.tsx +++ b/src/client/views/collections/CollectionSchemaView.tsx @@ -6,12 +6,12 @@ import { action, computed, observable, trace, untracked } from "mobx"; import { observer } from "mobx-react"; import ReactTable, { CellInfo, ComponentPropsGetterR, ReactTableDefaults } from "react-table"; import "react-table/react-table.css"; +import { emptyFunction, returnFalse, returnZero, returnOne } from "../../../Utils"; import { Doc, DocListCast, DocListCastAsync, Field } from "../../../new_fields/Doc"; import { Id } from "../../../new_fields/FieldSymbols"; import { List } from "../../../new_fields/List"; import { listSpec } from "../../../new_fields/Schema"; import { Cast, FieldValue, NumCast, StrCast } from "../../../new_fields/Types"; -import { emptyFunction, returnFalse, returnZero } from "../../../Utils"; import { Docs } from "../../documents/Documents"; import { Gateway } from "../../northstar/manager/Gateway"; import { SetupDrag } from "../../util/DragManager"; @@ -434,6 +434,8 @@ export class CollectionSchemaPreview extends React.Component<CollectionSchemaPre whenActiveChanged={this.props.whenActiveChanged} bringToFront={emptyFunction} addDocTab={this.props.addDocTab} + zoomToScale={emptyFunction} + getScale={returnOne} /> </div>)} {input} |
