Fix for the snapping issue that occurs in production build
This commit is contained in:
parent
6e87323d7a
commit
792850260a
4 changed files with 4 additions and 6 deletions
|
@ -52,7 +52,7 @@ const HitZone = styled.div`
|
|||
|
||||
cursor: ew-resize;
|
||||
|
||||
#pointer-root.draggingpositioninsequenceeditor & {
|
||||
#pointer-root.draggingPositionInSequenceEditor & {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ const HitZone = styled.circle`
|
|||
cursor: move;
|
||||
}
|
||||
|
||||
#pointer-root.draggingpositioninsequenceeditor & {
|
||||
#pointer-root.draggingPositionInSequenceEditor & {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ const Rod = styled.div`
|
|||
border-left: 1px solid #27e0fd;
|
||||
z-index: 10;
|
||||
|
||||
#pointer-root.draggingpositioninsequenceeditor &:not(.seeking) {
|
||||
#pointer-root.draggingPositionInSequenceEditor &:not(.seeking) {
|
||||
pointer-events: auto;
|
||||
|
||||
&:after {
|
||||
|
@ -61,7 +61,7 @@ const Thumb = styled.div`
|
|||
cursor: ew-resize;
|
||||
${pointerEventsAutoInNormalMode};
|
||||
|
||||
#pointer-root.draggingpositioninsequenceeditor &:not(.seeking) {
|
||||
#pointer-root.draggingPositionInSequenceEditor &:not(.seeking) {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
|
|
|
@ -54,8 +54,6 @@ const PointerEventsHandler: React.FC<{
|
|||
}
|
||||
}, [])
|
||||
|
||||
console.log(locks[0]?.cursor)
|
||||
|
||||
return (
|
||||
<context.Provider value={contextValue}>
|
||||
<Container id={elementId} className={locks[0]?.className ?? 'normal'}>
|
||||
|
|
Loading…
Reference in a new issue