aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2019-04-24 23:17:44 -0400
committerBob Zeleznik <zzzman@gmail.com>2019-04-24 23:17:44 -0400
commit575d8b339cdf74cdcb8d46dcd6e627aec2dda636 (patch)
tree8d8c89ba997c6a12dce7dd8fd6fa02122f46e9c9 /src/client/views/nodes/ImageBox.tsx
parent20becbb5ca40350ed85e01f73f29621ba7783bb9 (diff)
added borderRadius and fixed a bunch of broken props along the way.
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r--src/client/views/nodes/ImageBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx
index a16fd5007..b22accb74 100644
--- a/src/client/views/nodes/ImageBox.tsx
+++ b/src/client/views/nodes/ImageBox.tsx
@@ -165,7 +165,7 @@ export class ImageBox extends React.Component<FieldViewProps> {
let nativeWidth = this.props.Document.GetNumber(KeyStore.NativeWidth, 1);
let interactive = InkingControl.Instance.selectedTool ? "" : "interactive"
return (
- <div className={`imageBox-cont-${interactive}`} onPointerDown={this.onPointerDown} onDrop={this.onDrop} ref={this.createDropTarget} onContextMenu={this.specificContextMenu}>
+ <div className="imageBox-cont" onPointerDown={this.onPointerDown} onDrop={this.onDrop} ref={this.createDropTarget} onContextMenu={this.specificContextMenu}>
<img src={paths[Math.min(paths.length, this._photoIndex)]} style={{ objectFit: (this._photoIndex === 0 ? undefined : "contain") }} width={nativeWidth} alt="Image not found" ref={this._imgRef} onLoad={this.onLoad} />
{paths.length > 1 ? this.dots(paths) : (null)}
{this.lightbox(paths)}