diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-07-24 10:43:55 -0400 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-07-24 10:43:55 -0400 |
commit | 99ebc483059f5637e0731c9d0b43ddd3d531f2e3 (patch) | |
tree | 76921e4507782905d38b7b4133cf258cf3f19af6 /src/client/views/presentationview/PresentationView.tsx | |
parent | 80493ba3d5e578a37f703b1c0f9e04879c43c134 (diff) |
wrapped presentation view toggle in an action, cognitive services cleanup
Diffstat (limited to 'src/client/views/presentationview/PresentationView.tsx')
-rw-r--r-- | src/client/views/presentationview/PresentationView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/presentationview/PresentationView.tsx b/src/client/views/presentationview/PresentationView.tsx index 966ade3de..b318f0321 100644 --- a/src/client/views/presentationview/PresentationView.tsx +++ b/src/client/views/presentationview/PresentationView.tsx @@ -69,6 +69,7 @@ export class PresentationView extends React.Component<PresViewProps> { PresentationView.Instance = this; } + @action toggle = (forcedValue: boolean | undefined) => { if (forcedValue !== undefined) { this.curPresentation.width = forcedValue ? expandedWidth : 0; |