diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-06-18 22:51:46 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-06-18 22:51:46 -0400 |
commit | 3b880d7b15b7107049ae27601b9f759b17f7fde9 (patch) | |
tree | 5dfe9aa702cee1f5e09b0d807969692013b192a4 /src/client/views/nodes/ImageBox.tsx | |
parent | ca126adda9e4def83fb5c2e07e382917ca0b4ee0 (diff) |
added initial keyboard shortcuts for adding and moving docs in TreeView. fixed image drag bug.
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 6b8b64c5f..345fa5cc7 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -217,7 +217,7 @@ export class ImageBox extends DocComponent<FieldViewProps, ImageDocument>(ImageD let aspect = (rotation % 180) ? this.props.Document[HeightSym]() / this.props.Document[WidthSym]() : 1; let shift = (rotation % 180) ? (nativeHeight - nativeWidth / aspect) / 2 : 0; return ( - <div id={id} className={`imageBox-cont${interactive}`} + <div id={id} className={`imageBox-cont${interactive}`} style={{ background: "transparent" }} onPointerDown={this.onPointerDown} onDrop={this.onDrop} ref={this.createDropTarget} onContextMenu={this.specificContextMenu}> <img id={id} |