diff --git a/apps/desktop/layer/renderer/src/components/ui/media/VideoPlayer.tsx b/apps/desktop/layer/renderer/src/components/ui/media/VideoPlayer.tsx index ee1214f12..15cb0ad3f 100644 --- a/apps/desktop/layer/renderer/src/components/ui/media/VideoPlayer.tsx +++ b/apps/desktop/layer/renderer/src/components/ui/media/VideoPlayer.tsx @@ -71,8 +71,8 @@ export const VideoPlayer = ({ const isPlayer = variant === "player" const [clickToStatus, setClickToStatus] = useState(null as "play" | "pause" | null) - const scaleValue = useSpring(1, Spring.presets.softSpring) - const opacityValue = useSpring(0, Spring.presets.softSpring) + const scaleValue = useSpring(1, Spring.presets.smooth) + const opacityValue = useSpring(0, Spring.presets.smooth) const handleClick = useEventCallback((e?: any) => { if (!isPlayer) return e?.stopPropagation() diff --git a/apps/desktop/layer/renderer/src/components/ui/modal/stacked/constants.ts b/apps/desktop/layer/renderer/src/components/ui/modal/stacked/constants.ts index 9d91e67db..9bf96f465 100644 --- a/apps/desktop/layer/renderer/src/components/ui/modal/stacked/constants.ts +++ b/apps/desktop/layer/renderer/src/components/ui/modal/stacked/constants.ts @@ -15,12 +15,9 @@ export const modalMontionConfig = { animate: enterStyle, exit: { ...initialStyle, - // no spring - transition: { - type: "tween", - }, + transition: Spring.presets.smooth, }, - transition: Spring.presets.microRebound, + transition: Spring.presets.snappy, } satisfies MotionProps // Radix context menu z-index 999 diff --git a/apps/desktop/layer/renderer/src/modules/boost/modal.tsx b/apps/desktop/layer/renderer/src/modules/boost/modal.tsx index 06a975068..1eff0a8f1 100644 --- a/apps/desktop/layer/renderer/src/modules/boost/modal.tsx +++ b/apps/desktop/layer/renderer/src/modules/boost/modal.tsx @@ -84,11 +84,7 @@ export const BoostModalContent = ({ feedId }: { feedId: string }) => { {boostFeedMutation.isSuccess ? ( <> - + {t("boost.boost_success_thanks")}