fix: spectrogram is not taking region position into consideration
This commit is contained in:
@@ -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