Logo
Explore Help
Sign In
ccm/pan-zoom
1
0
Fork 0
You've already forked pan-zoom
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
12 Commits 1 Branch 4 Tags
Commit Graph

8 Commits

Author SHA1 Message Date
Catalin Constantin Mititiuc
1dde57b0ea Update URLs to new domain name 2025-06-17 11:01:42 -07:00
Catalin Constantin Mititiuc
d2a670731f Conjugate scaling operation by translating to the origin
https://stackoverflow.com/questions/38446666/scaling-around-a-specific-point-in-2d-coordinate-system
2025-06-16 23:25:25 -07:00
Catalin Constantin Mititiuc
3fa7f02571 Add Jest testing framework 2025-06-16 23:25:25 -07:00
Catalin Constantin Mititiuc
79e5a4995e Update package.json 2025-06-16 23:25:25 -07:00
Catalin Constantin Mititiuc
aa15e21132 Add module to save and restore pan/zoom values on page reload 2025-06-16 23:25:25 -07:00
Catalin Constantin Mititiuc
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
Catalin Constantin Mititiuc
e0fbba8fee Use CSS transformations instead of manipulating the viewBox 2025-06-16 23:25:25 -07:00
Catalin Constantin Mititiuc
9f82c19ed4 Initial commit 2025-06-16 23:25:25 -07:00
Powered by Gitea Version: 1.23.8 Page: 40ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API