From b0167303f067be219e015f06ca493a6fdf79e6a3 Mon Sep 17 00:00:00 2001 From: Mohammad Amoush Date: Tue, 30 Jul 2019 17:17:53 -0400 Subject: Toggle Fix and styling --- src/client/views/presentationview/PresentationView.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/client/views/presentationview/PresentationView.tsx') diff --git a/src/client/views/presentationview/PresentationView.tsx b/src/client/views/presentationview/PresentationView.tsx index 4fe9d3a1b..9742a2473 100644 --- a/src/client/views/presentationview/PresentationView.tsx +++ b/src/client/views/presentationview/PresentationView.tsx @@ -881,6 +881,9 @@ export class PresentationView extends React.Component { if (presWidth - presMinWidth !== 0) { this.curPresentation.width = 0; } + if (presWidth === 0) { + this.curPresentation.width = presMinWidth; + } } document.removeEventListener("pointermove", this.onPointerMove); document.removeEventListener("pointerup", this.onPointerUp); @@ -992,7 +995,7 @@ export class PresentationView extends React.Component {
+ onPointerDown={this.onPointerDown}>
{this.renderPresMode()} -- cgit v1.2.3-70-g09d2