diff options
| author | bob <bcz@cs.brown.edu> | 2019-11-21 16:27:56 -0500 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-11-21 16:27:56 -0500 |
| commit | 7ef52a87d1731770c6e1a8cd1aef31cb384fff05 (patch) | |
| tree | a275203fa8ea5a0e2ce444bf75930c557a1857e2 /src/client/views/nodes/ImageBox.tsx | |
| parent | 17474b9b840c78df4dc2601e82cf63a85e0bcbf7 (diff) | |
made textbox sidebar toggle a widget. fixed isAnimating stuff. made TraceMobx to simplify tracing
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
| -rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 5d40e274f..d102c9600 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -27,6 +27,7 @@ import React = require("react"); import { CollectionFreeFormView } from '../collections/collectionFreeForm/CollectionFreeFormView'; import { documentSchema } from '../../../new_fields/documentSchemas'; import { Id } from '../../../new_fields/FieldSymbols'; +import { TraceMobx } from '../../../new_fields/util'; var requestImageSize = require('../../util/request-image-size'); var path = require('path'); const { Howl } = require('howler'); @@ -268,7 +269,7 @@ export class ImageBox extends DocAnnotatableComponent<FieldViewProps, ImageDocum } @computed get content() { - trace(); + TraceMobx(); const extensionDoc = this.extensionDoc; if (!extensionDoc) return (null); // let transform = this.props.ScreenToLocalTransform().inverse(); |
