mirror of
https://github.com/ClipFusion-org/clipfusion.git
synced 2025-08-03 14:45:09 +00:00
fixed project library dropdown
This commit is contained in:
parent
85a497c830
commit
e2f4c023c1
@ -38,7 +38,6 @@ const SwipeToDelete: FC<SwipeToDeleteProps> = ({
|
||||
const lastXRef = useRef<number>(0);
|
||||
const lastYRef = useRef<number>(0);
|
||||
|
||||
|
||||
// measure width and thresholds
|
||||
const width = container.current?.offsetWidth ?? window.innerWidth;
|
||||
const rubberMax = width * threshold / 100;
|
||||
@ -250,8 +249,6 @@ const SwipeToDelete: FC<SwipeToDeleteProps> = ({
|
||||
transition: dragging
|
||||
? ''
|
||||
: 'transform 300ms cubic-bezier(0.24, 1.04, 0.56, 1)',
|
||||
touchAction: 'none',
|
||||
pointerEvents: 'none',
|
||||
willChange: 'transform',
|
||||
backfaceVisibility: 'hidden',
|
||||
transformStyle: 'preserve-3d'
|
||||
|
Loading…
Reference in New Issue
Block a user