aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-06-25 12:00:43 -0700
committerLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-06-25 12:00:43 -0700
commitdb92851456f168affcdbd4053b38e7b9f6b7a97d (patch)
treea8fc1a1629f6b0393858352a6b3158a7172b0c9a /src/client
parent627f4e582fe3a18d1c971b7e3850605e662afb7a (diff)
fix image flikering (hopefully), changed sidebar UI, and changed handle click
Diffstat (limited to 'src/client')
-rw-r--r--src/client/views/nodes/ImageBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx
index 225d03104..d16aa528c 100644
--- a/src/client/views/nodes/ImageBox.tsx
+++ b/src/client/views/nodes/ImageBox.tsx
@@ -236,6 +236,7 @@ export class ImageBox extends ViewBoxAnnotatableComponent<FieldViewProps, ImageD
if (this._curSuffix === "_m") this._mediumRetryCount++;
if (this._curSuffix === "_l") this._largeRetryCount++;
}
+
@action onError = (error: any) => {
const timeout = this._curSuffix === "_s" ? this._smallRetryCount : this._curSuffix === "_m" ? this._mediumRetryCount : this._largeRetryCount;
if (timeout < 5) {