From 4401bb75aea7cf8398d1fe7e23725172d9cb4ebd Mon Sep 17 00:00:00 2001 From: mehekj Date: Sun, 5 Jun 2022 11:47:51 -0400 Subject: cleanup from search box popup test --- src/client/views/nodes/VideoBox.tsx | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'src') diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index a4b7ffb9b..3ffd813d6 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -23,7 +23,6 @@ import { ContextMenu } from "../ContextMenu"; import { ContextMenuProps } from "../ContextMenuItem"; import { ViewBoxAnnotatableComponent, ViewBoxAnnotatableProps } from "../DocComponent"; import { DocumentDecorations } from "../DocumentDecorations"; -import { LinkPopup } from "../linking/LinkPopup"; import { MarqueeAnnotator } from "../MarqueeAnnotator"; import { AnchorMenu } from "../pdf/AnchorMenu"; import { StyleProp } from "../StyleProvider"; @@ -99,7 +98,6 @@ export class VideoBox extends ViewBoxAnnotatableComponent { - e.stopPropagation(); - setupMoveUpEvents(this, e, returnFalse, returnFalse, action((e: PointerEvent, doubleTap?: boolean) => { - if (doubleTap && !this._fullScreen) { - // console.log("hello"); - // this._showLinkPopup = !this._showLinkPopup; - } else { - this.toggleMute(); - } - })); - } - // toggles video mute @action toggleMute = () => { @@ -742,7 +727,6 @@ export class VideoBox extends ViewBoxAnnotatableComponent
{this.UIButtons} - {/* , */}
} @@ -797,7 +781,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent + onPointerDown={(e) => { e.stopPropagation(); this.toggleMute(); }}>