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={{
|
||||
position: 'absolute',
|
||||
top: 0,
|
||||
left: 0,
|
||||
left: `${audioRegion.getStartFromBeat() * 40 * zoom}px`,
|
||||
zIndex: 0,
|
||||
pointerEvents: 'none',
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user