mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-02-11 00:51:31 +01:00
Rather than try to track the transition state, which was proving unreliable, I am just directly tracking the node state and determining whether to debounce the inner rect based on whether the user has the prefers-reduced-motion setting or query, whether the node is resizing, and whether it's currently magnified. I'm then using the actual animation time setting to determine how long to debounce. |
||
---|---|---|
.. | ||
lib | ||
tests | ||
index.ts |