aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
authorvkalev <vjk1883@gmail.com>2021-09-02 12:04:02 -0400
committervkalev <vjk1883@gmail.com>2021-09-02 12:04:02 -0400
commit8cb650d9fb542465525c198c1f93f6aba7256e0b (patch)
treec291b9ec737a3221008984cfe4a56a741d90b096 /src/client/views/MainView.tsx
parentb04ec7f52265a27e9d72a3738fa474cfaefcdcd9 (diff)
working on moving ink UI to DocumentDecorations
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index b0b8d7f41..1ce363b0a 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -65,6 +65,7 @@ import { SearchBox } from './search/SearchBox';
import { DefaultStyleProvider, DashboardStyleProvider, StyleProp } from './StyleProvider';
import { TopBar } from './topbar/TopBar';
import { Colors } from './global/globalEnums';
+import { DocumentType } from '../documents/DocumentTypes';
const _global = (window /* browser */ || global /* node */) as any;
@observer
@@ -592,7 +593,7 @@ export class MainView extends React.Component {
<CaptureManager />
<GroupManager />
<GoogleAuthenticationManager />
- <DocumentDecorations boundsLeft={this.leftOffset} boundsTop={this.topOffset} />
+ <DocumentDecorations PanelWidth={this._windowWidth} PanelHeight={this._windowHeight} boundsLeft={this.leftOffset} boundsTop={this.topOffset} />
{this.search}
{LinkDescriptionPopup.descriptionPopup ? <LinkDescriptionPopup /> : null}
{DocumentLinksButton.LinkEditorDocView ? <LinkMenu docView={DocumentLinksButton.LinkEditorDocView} changeFlyout={emptyFunction} /> : (null)}