Skip to content

The swiss army knife of lossless video/audio editing

fix play button #1048

Mikael Finstad37f142a9e1d4
diff --git a/src/BottomBar.jsx b/src/BottomBar.jsx
index b101fdbf..2d15124d 100644
--- a/src/BottomBar.jsx
+++ b/src/BottomBar.jsx
@@ -230,12 +230,10 @@ const BottomBar = memo(({
/>
)}
- <div style={{ background: primaryColor, margin: '2px 5px 0 5px', display: 'flex', alignItems: 'center', justifyContent: 'center', width: 34, height: 34, borderRadius: 17 }}>
+ <div role="button" onClick={togglePlay} style={{ background: primaryColor, margin: '2px 5px 0 5px', display: 'flex', alignItems: 'center', justifyContent: 'center', width: 34, height: 34, borderRadius: 17 }}>
<PlayPause
style={{ marginLeft: playing ? 0 : 2 }}
size={16}
- role="button"
- onClick={togglePlay}
/>
</div>