From 8db8c9313ae6ff517568444a4ecb0f708b0d07e2 Mon Sep 17 00:00:00 2001 From: Mohammad Amoush Date: Tue, 30 Jul 2019 17:54:44 -0400 Subject: cleanup --- src/client/views/presentationview/PresentationView.tsx | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src') diff --git a/src/client/views/presentationview/PresentationView.tsx b/src/client/views/presentationview/PresentationView.tsx index 9742a2473..c0251f20b 100644 --- a/src/client/views/presentationview/PresentationView.tsx +++ b/src/client/views/presentationview/PresentationView.tsx @@ -889,18 +889,6 @@ export class PresentationView extends React.Component { document.removeEventListener("pointerup", this.onPointerUp); } - /** - * This function gets triggered on click of the dragger. It opens up the - * presentation view, if it was closed beforehand. - */ - togglePresView = (e: React.MouseEvent) => { - e.stopPropagation(); - e.preventDefault(); - let width = NumCast(this.curPresentation.width); - if (width === 0) { - this.curPresentation.width = presMinWidth; - } - } /** * This function is a setter that opens up the * presentation mode, by setting it's render flag -- cgit v1.2.3-70-g09d2