diff options
author | bobzel <zzzman@gmail.com> | 2024-03-30 09:13:12 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-03-30 09:13:12 -0400 |
commit | c6854180ca1aa488d36722d42afdf8ccf6dd588b (patch) | |
tree | c193bc6f89bbd3c6b64b7acdb5c2a3c81504b0bd /src/client/views/MainView.tsx | |
parent | a9baa52c557faaa82fd3f696f0d603dd10b982a8 (diff) |
fixed snapshot workspace functions by getting rid of @actions. fixed lightbox to not rerende on invalidation which allows videos to play.
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 56d28ee5d..207db2c99 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -976,6 +976,7 @@ export class MainView extends ObservableReactComponent<{}> { ); } + lightboxMaxBorder = [200, 50]; render() { return ( <div @@ -1038,7 +1039,7 @@ export class MainView extends ObservableReactComponent<{}> { <RichTextMenu /> {/* <InkTranscription /> */} {this.snapLines} - <LightboxView key="lightbox" PanelWidth={this._windowWidth} PanelHeight={this._windowHeight} maxBorder={[200, 50]} /> + <LightboxView key="lightbox" PanelWidth={this._windowWidth} PanelHeight={this._windowHeight} maxBorder={this.lightboxMaxBorder} /> <OverlayView /> <GPTPopup key="gptpopup" /> <SchemaCSVPopUp key="schemacsvpopup" /> |