Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

panzoom

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

panzoom - npm Package Compare versions

Comparing version 7.0.2 to 7.0.3

3

index.js

@@ -146,3 +146,4 @@ 'use strict';

// TODO: this duplicates autocenter. I think autocenter should go.
var size = transformToScreen(owner.clientWidth, owner.clientHeight)
let clientRect = owner.getBoundingClientRect()
var size = transformToScreen(clientRect.width, clientRect.height)

@@ -149,0 +150,0 @@ var rectWidth = rect.right - rect.left

{
"name": "panzoom",
"version": "7.0.2",
"version": "7.0.3",
"description": "Extensible, mobile friendly pan and zoom framework (supports DOM and SVG).",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,3 +10,3 @@ # panzoom [![Build Status](https://travis-ci.org/anvaka/panzoom.svg)](https://travis-ci.org/anvaka/panzoom)

* [YASIV](http://www.yasiv.com/#/Search?q=algorithms&category=Books&lang=US) - my hobby project
* [SVG Tiger](https://jsfiddle.net/uwxcmbyg/) - js fiddle
* [SVG Tiger](https://jsfiddle.net/uwxcmbyg/609/) - js fiddle

@@ -111,3 +111,3 @@ # Usage

See [JSFiddle](https://jsfiddle.net/uwxcmbyg/1/) console for a demo.
See [JSFiddle](https://jsfiddle.net/uwxcmbyg/609/) console for a demo.

@@ -114,0 +114,0 @@ ## Ignore mouse wheel

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc