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