aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ImageBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-02-14 18:29:00 -0500
committerbobzel <zzzman@gmail.com>2021-02-14 18:29:00 -0500
commit6fcef3d8dfdbe373724d2f11c9df8f350bd8950c (patch)
treee3ac92a411512e56626a23e21beb3f8a392de367 /src/client/views/nodes/ImageBox.tsx
parent26bbd3a593e6f51ec3665e124e66ed8030ab98df (diff)
fixes to focus()'s api and extension to allow focusing on a Tab's contents.
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 441d6232a..74bff2bfe 100644
--- a/src/client/views/nodes/ImageBox.tsx
+++ b/src/client/views/nodes/ImageBox.tsx
@@ -152,7 +152,7 @@ export class ImageBox extends ViewBoxAnnotatableComponent<FieldViewProps, ImageD
});
}
@undoBatch
- resolution = () => this.layoutDoc._showFullRes = !this.layoutDoc._showFullRes;
+ resolution = () => this.layoutDoc._showFullRes = !this.layoutDoc._showFullRes
@undoBatch
rotate = action(() => {