aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-09-12 16:18:42 -0400
committerbobzel <zzzman@gmail.com>2022-09-12 16:18:42 -0400
commit4315a0378bc54ae9eaa684d416839f635c38e865 (patch)
treecd30b78e4d02b10e6eb703518e91199f1b8b8632 /src/client/views/DocumentDecorations.tsx
parent51a4c0978cdc65a4a16bc9f03c7e4eff551769af (diff)
fixed rotating UI for video boxes. fixed generating error response for unsupported video/audio formats.
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index a79f727a7..832d0a35c 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -738,11 +738,9 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number; P
</>
)}
- {useRotation && (
- <div key="rot" className={`documentDecorations-rotation`} onPointerDown={this.onRotateDown} onContextMenu={e => e.preventDefault()}>
- {'⟲'}
- </div>
- )}
+ <div key="rot" className={`documentDecorations-rotation`} onPointerDown={this.onRotateDown} onContextMenu={e => e.preventDefault()}>
+ {'⟲'}
+ </div>
{useRounding && (
<div