aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionDockingView.tsx
diff options
context:
space:
mode:
authorGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-08-07 01:35:46 +0800
committerGeireann Lindfield Roberts <60007097+geireann@users.noreply.github.com>2020-08-07 01:35:46 +0800
commit33487aa34fd455acf5216cfee7913d6e36f390ed (patch)
treeb2e8c0bffbfd0f5a9ac585603af309832da0f00e /src/client/views/collections/CollectionDockingView.tsx
parent649ce72e3c30bca38e452c87d7f15453745c0785 (diff)
presentaiton options slightly reformatted :pear:
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
-rw-r--r--src/client/views/collections/CollectionDockingView.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx
index 7bd79b2ef..7e096fa37 100644
--- a/src/client/views/collections/CollectionDockingView.tsx
+++ b/src/client/views/collections/CollectionDockingView.tsx
@@ -873,9 +873,8 @@ export class DockedFrameRenderer extends React.Component<DockedFrameProps> {
return (
<div className="miniPres"
style={{ width: 250, height: 30, background: '#323232' }}
- onClick={() => document.addEventListener("keydown", PresBox.Instance.minimizeEvents, false)}
>
- {<div className="miniPresOverlay" onClick={() => document.addEventListener("keydown", PresBox.Instance.minimizeEvents, false)}>
+ {<div className="miniPresOverlay">
<div className="miniPres-button" onClick={PresBox.Instance.back}><FontAwesomeIcon icon={"arrow-left"} /></div>
<div className="miniPres-button" onClick={() => PresBox.Instance.startAutoPres(PresBox.Instance.itemIndex)}><FontAwesomeIcon icon={PresBox.Instance.layoutDoc.presStatus === "auto" ? "pause" : "play"} /></div>
<div className="miniPres-button" onClick={PresBox.Instance.next}><FontAwesomeIcon icon={"arrow-right"} /></div>