gubes mirror. how does this work
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pt. 3

leah 37e9fb08 e768111a

+3 -2
+1 -1
neo/src/bits/dialog.tsx
··· 1 1 import "@css/dialog.css"; 2 2 3 - import { effect, signal, useSignal } from "@preact/signals"; 3 + import { effect, signal } from "@preact/signals"; 4 4 import { reduced_motion } from "@src/support"; 5 5 import { spring, timeline } from "motion"; 6 6 import { useId } from "preact/hooks";
+2 -1
neo/src/bits/navigator.tsx
··· 39 39 if (!navigator_div.current || !first || !transitions || reduced_motion()) return; 40 40 const last = navigator_div.current.getBoundingClientRect(); 41 41 42 + const current_style = navigator_div.current.getAttribute("style"); 42 43 navigator_div.current.style.overflow = "hidden"; 43 44 44 45 timeline([ ··· 53 54 ], 54 55 [div_children(), { opacity: 1 }, { easing: "ease-out", duration: 0.15, at: 0.1 }] 55 56 ]).finished.then(() => { 56 - navigator_div.current!.removeAttribute("style"); 57 + navigator_div.current!.setAttribute("style", current_style ?? ""); 57 58 navigator_div.current!.style.overflow = "unset"; 58 59 }); 59 60