diff options
author | Andrew Kim <andrewdkim@users.noreply.github.com> | 2019-08-19 00:27:40 -0400 |
---|---|---|
committer | Andrew Kim <andrewdkim@users.noreply.github.com> | 2019-08-19 00:27:40 -0400 |
commit | a4bfacd9f494df6698d12d408d736e878c1189eb (patch) | |
tree | b3af89bc30eaf48fd983711c00cd4c28eb662bbc /src/client/views/nodes/ImageBox.tsx | |
parent | 1b7e8873ead3cc15349bd4c9e669f3b1edcbbc2b (diff) | |
parent | b037aa89fb564812f880994453ce002054a0ad82 (diff) |
merge from master
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index 582a50637..708e00576 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -420,13 +420,13 @@ export class ImageBox extends DocComponent<FieldViewProps, ImageDocument>(ImageD width={nativeWidth} ref={this._imgRef} onError={this.onError} /> - {fadepath === srcpath ? (null) : <img id="fadeaway" className="fadeaway" + {fadepath === srcpath ? (null) : <div className="imageBox-fadeBlocker"> <img className="imageBox-fadeaway" key={"fadeaway" + this._smallRetryCount + (this._mediumRetryCount << 4) + (this._largeRetryCount << 8)} // force cache to update on retrys src={fadepath} style={{ transform: `translate(0px, ${shift}px) rotate(${rotation}deg) scale(${aspect})` }} width={nativeWidth} ref={this._imgRef} - onError={this.onError} />} + onError={this.onError} /></div>} </div> {paths.length > 1 ? this.dots(paths) : (null)} <div className="imageBox-audioBackground" |