We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2db2773 commit 8075b5bCopy full SHA for 8075b5b
packages/webui/src/client/ui/SegmentTimeline/SourceLayerItem.tsx
@@ -194,12 +194,12 @@ export const SourceLayerItem = (props: Readonly<ISourceLayerItemProps>): JSX.Ele
194
)
195
const itemMouseDown = useCallback(
196
(e: React.MouseEvent<HTMLDivElement>) => {
197
- e.preventDefault()
198
- e.stopPropagation()
199
-
200
if (!hasDraggableElement) return
201
202
if (dragCtx && dragCtx.enabled) {
+ e.preventDefault()
+ e.stopPropagation()
+
203
const targetPos = (e.target as HTMLDivElement).getBoundingClientRect()
204
const retimeOp = piece.instance.piece.userEditOperations?.find(
205
(op) => op.type === UserEditingType.SOFIE && op.id === DefaultUserOperationsTypes.RETIME_PIECE
0 commit comments