Web Dev Solutions

Catalin Mititiuc

From 9c34e15c47cf3578adeff41693a62061a25fdcde Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Tue, 11 Jun 2024 14:58:29 -0700 Subject: 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 element, we can only transform a child element --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4d96e8f..8ed4dc8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Pan-Zoom -Pan/zoom library for web browsers. Hold and drag an element to pan. Use the mouse wheel to zoom. See `src/app.js` for a usage example. +Pan/zoom library for SVG elements. Hold and drag to pan. Use the mouse wheel to +zoom. See `src/app.js` for a usage example. ## To view the demo using Docker -- cgit v1.2.3