3fa7f02571
Add Jest testing framework
2025-06-16 23:25:25 -07:00
cb22251552
Update .gitignore file
2025-06-16 23:25:25 -07:00
79e5a4995e
Update package.json
2025-06-16 23:25:25 -07:00
1682c719f5
Update README
2025-06-16 23:25:25 -07:00
aa15e21132
Add module to save and restore pan/zoom values on page reload
2025-06-16 23:25:25 -07:00
0e1c2d3919
Add function for panning programmatically
2025-06-16 23:25:25 -07:00
3b505f69b4
Fix formatting in README.md
2025-06-16 23:25:25 -07:00
b449601a6b
Update implementation to account for WebKit bug
...
getScreenCTM() on WebKit does not reflect transformations applied to an ancestor (see bug https://bugs.webkit.org/show_bug.cgi?id=209220 ), so instead of transforming the root <svg> element, we can only transform a child element
2025-06-16 23:25:25 -07:00
e0fbba8fee
Use CSS transformations instead of manipulating the viewBox
2025-06-16 23:25:25 -07:00
9f82c19ed4
Initial commit
2025-06-16 23:25:25 -07:00