fix: spectrogram is not taking region position into consideration
This commit is contained in:
1 parent
7b74687daf
commit
0fc4ee2a0f
1 file changed
+1
-1
@@ -249,7 +249,7 @@ const SpectrogramCanvas: React.FC<SpectrogramCanvasProps> = ({
|
|||||||
style={{
|
style={{
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
top: 0,
|
top: 0,
|
||||||
left: 0,
|
left: `${audioRegion.getStartFromBeat() * 40 * zoom}px`,
|
||||||
zIndex: 0,
|
zIndex: 0,
|
||||||
pointerEvents: 'none',
|
pointerEvents: 'none',
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in new issue
Block a user