Skip to content

v2.1.1

Choose a tag to compare

@ShuninYu ShuninYu released this 26 Mar 01:02
· 11 commits to main since this release

[Bug Fix] Improved disable() / enable() to avoid affecting other animations

  • Previously, disable() added a global CSS rule body.animecursor-disabled * { cursor: auto !important; animation: none !important; }, which would accidentally disable all animations on the page.
  • Now, disable() removes AnimeCursor's injected style sheet and debug elements, restoring native cursors without touching any other animations.
  • enable() re-injects the style sheet and rebuilds the debug overlay, fully restoring AnimeCursor functionality.
  • This change makes the API safe to use in any context without side effects.