Releases: PuruVJ/neodrag
Releases · PuruVJ/neodrag
@neodrag/vue@3.0.0-next.9
Patch Changes
- Updated dependencies [
f221917]:- @neodrag/core@3.0.0-next.8
@neodrag/vanilla@3.0.0-next.9
Patch Changes
- Updated dependencies [
f221917]:- @neodrag/core@3.0.0-next.8
@neodrag/svelte@3.0.0-next.8
Patch Changes
- Updated dependencies [
f221917]:- @neodrag/core@3.0.0-next.8
@neodrag/solid@3.0.0-next.8
Patch Changes
- Updated dependencies [
f221917]:- @neodrag/core@3.0.0-next.8
@neodrag/react@3.0.0-next.8
Patch Changes
- Updated dependencies [
f221917]:- @neodrag/core@3.0.0-next.8
@neodrag/core@3.0.0-next.8
Patch Changes
-
#182
f221917Thanks @PuruVJ! - Fix floating-point precision bug in drag calculations at large coordinates (issue #232)This fix addresses a critical precision issue where dragging elements at large coordinates with small movements caused floating-point precision loss, resulting in incorrect element positioning. The delta calculation has been optimized to use inverse scale compensation, and the expensive inverse_scale calculation is now cached as an instance property for improved performance.
- Fixed precision loss in delta calculations at large coordinates
- Optimized performance by caching inverse_scale calculation
- Added comprehensive cross-browser tests to detect precision bugs
- Tests now properly fail with buggy code and pass with the fix applied
@neodrag/vue@3.0.0-next.8
@neodrag/vanilla@3.0.0-next.8
Patch Changes
- Updated dependencies [
a3a20b0]:- @neodrag/core@3.0.0-next.7