modify fab opacity to 0.2

This commit is contained in:
Gabe Yuan
2023-08-26 13:45:24 +08:00
parent 2636c24e84
commit 36b49bb577

View File

@@ -163,7 +163,7 @@ export default function Draggable({
const opacity = useMemo(() => {
if (snapEdge) {
return position.hide ? 0.1 : 1;
return position.hide ? 0.2 : 1;
}
return origin ? 0.8 : 1;
}, [origin, snapEdge, position.hide]);