mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-11-16 09:34:22 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 79c28103d5 |
@@ -1175,11 +1175,14 @@ export default function ForwardPage() {
|
|||||||
isDragging,
|
isDragging,
|
||||||
} = useSortable({ id: forward.id });
|
} = useSortable({ id: forward.id });
|
||||||
|
|
||||||
const style = {
|
const style: React.CSSProperties = {
|
||||||
transform: transform ? CSS.Transform.toString(transform) : undefined,
|
transform: transform ? CSS.Transform.toString(transform) : undefined,
|
||||||
transition: isDragging ? undefined : transition || undefined,
|
transition: isDragging ? undefined : transition || undefined,
|
||||||
opacity: isDragging ? 0.5 : 1,
|
opacity: isDragging ? 0.5 : 1,
|
||||||
willChange: "transform",
|
willChange: "transform",
|
||||||
|
backfaceVisibility: "hidden",
|
||||||
|
WebkitFontSmoothing: "antialiased",
|
||||||
|
MozOsxFontSmoothing: "grayscale",
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -129,11 +129,14 @@ const SortableItem = ({
|
|||||||
isDragging,
|
isDragging,
|
||||||
} = useSortable({ id });
|
} = useSortable({ id });
|
||||||
|
|
||||||
const style = {
|
const style: React.CSSProperties = {
|
||||||
transform: transform ? CSS.Transform.toString(transform) : undefined,
|
transform: transform ? CSS.Transform.toString(transform) : undefined,
|
||||||
transition: isDragging ? undefined : transition || undefined,
|
transition: isDragging ? undefined : transition || undefined,
|
||||||
opacity: isDragging ? 0.5 : 1,
|
opacity: isDragging ? 0.5 : 1,
|
||||||
willChange: "transform",
|
willChange: "transform",
|
||||||
|
backfaceVisibility: "hidden",
|
||||||
|
WebkitFontSmoothing: "antialiased",
|
||||||
|
MozOsxFontSmoothing: "grayscale",
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -666,11 +666,14 @@ export default function TunnelPage() {
|
|||||||
isDragging,
|
isDragging,
|
||||||
} = useSortable({ id });
|
} = useSortable({ id });
|
||||||
|
|
||||||
const style = {
|
const style: React.CSSProperties = {
|
||||||
transform: transform ? CSS.Transform.toString(transform) : undefined,
|
transform: transform ? CSS.Transform.toString(transform) : undefined,
|
||||||
transition: isDragging ? undefined : transition || undefined,
|
transition: isDragging ? undefined : transition || undefined,
|
||||||
opacity: isDragging ? 0.5 : 1,
|
opacity: isDragging ? 0.5 : 1,
|
||||||
willChange: "transform",
|
willChange: "transform",
|
||||||
|
backfaceVisibility: "hidden",
|
||||||
|
WebkitFontSmoothing: "antialiased",
|
||||||
|
MozOsxFontSmoothing: "grayscale",
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user