From 73e5c873f1a22c9a1f0aeb5d0c6f85c5c8b2f8fc Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 24 Mar 2021 22:58:36 -0400 Subject: fixed screenshot box to not show minimap --- src/client/views/StyleProvider.tsx | 1 + src/client/views/collections/TabDocView.tsx | 5 ++--- src/client/views/nodes/ScreenshotBox.tsx | 3 +++ src/client/views/nodes/VideoBox.tsx | 9 +++++---- 4 files changed, 11 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/client/views/StyleProvider.tsx b/src/client/views/StyleProvider.tsx index 617652ab7..d78446bf6 100644 --- a/src/client/views/StyleProvider.tsx +++ b/src/client/views/StyleProvider.tsx @@ -118,6 +118,7 @@ export function DefaultStyleProvider(doc: Opt, props: Opt { background={this.miniMapColor} document={this._document} tabView={this.tabView} /> - {"toggle minimap"}}> + {"toggle minimap"}}>
e.stopPropagation()} onClick={action(e => { e.stopPropagation(); this._document!.hideMinimap = !this._document!.hideMinimap; })} >
diff --git a/src/client/views/nodes/ScreenshotBox.tsx b/src/client/views/nodes/ScreenshotBox.tsx index ec97a11e4..dba730d12 100644 --- a/src/client/views/nodes/ScreenshotBox.tsx +++ b/src/client/views/nodes/ScreenshotBox.tsx @@ -58,6 +58,9 @@ export class ScreenshotBox extends ViewBoxAnnotatableComponent this.Pause()} onClick={e => e.preventDefault()}> - Not supported. + Not supported. - } ; } -- cgit v1.2.3-70-g09d2