signature_pad
Advanced tools
Comparing version 5.0.1 to 5.0.2
/*! | ||
* Signature Pad v5.0.1 | https://github.com/szimek/signature_pad | ||
* Signature Pad v5.0.2 | https://github.com/szimek/signature_pad | ||
* (c) 2024 Szymon Nowak | Released under the MIT license | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* Signature Pad v5.0.1 | https://github.com/szimek/signature_pad | ||
* Signature Pad v5.0.2 | https://github.com/szimek/signature_pad | ||
* (c) 2024 Szymon Nowak | Released under the MIT license | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* Signature Pad v5.0.1 | https://github.com/szimek/signature_pad | ||
* Signature Pad v5.0.2 | https://github.com/szimek/signature_pad | ||
* (c) 2024 Szymon Nowak | Released under the MIT license | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* Signature Pad v5.0.1 | https://github.com/szimek/signature_pad | ||
* Signature Pad v5.0.2 | https://github.com/szimek/signature_pad | ||
* (c) 2024 Szymon Nowak | Released under the MIT license | ||
@@ -4,0 +4,0 @@ */ |
@@ -13,7 +13,2 @@ /** | ||
import { SignatureEventTarget } from './signature_event_target'; | ||
declare global { | ||
interface CSSStyleDeclaration { | ||
msTouchAction: string | null; | ||
} | ||
} | ||
export interface SignatureEvent { | ||
@@ -20,0 +15,0 @@ event: MouseEvent | TouchEvent | PointerEvent; |
/*! | ||
* Signature Pad v5.0.1 | https://github.com/szimek/signature_pad | ||
* Signature Pad v5.0.2 | https://github.com/szimek/signature_pad | ||
* (c) 2024 Szymon Nowak | Released under the MIT license | ||
@@ -4,0 +4,0 @@ */ |
{ | ||
"name": "signature_pad", | ||
"description": "Library for drawing smooth signatures.", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"homepage": "https://github.com/szimek/signature_pad", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -17,8 +17,2 @@ /** | ||
declare global { | ||
interface CSSStyleDeclaration { | ||
msTouchAction: string | null; | ||
} | ||
} | ||
export interface SignatureEvent { | ||
@@ -197,3 +191,3 @@ event: MouseEvent | TouchEvent | PointerEvent; | ||
this.canvas.style.touchAction = 'none'; | ||
this.canvas.style.msTouchAction = 'none'; | ||
(this.canvas.style as CSSStyleDeclaration & { msTouchAction: string | null }).msTouchAction = 'none'; | ||
this.canvas.style.userSelect = 'none'; | ||
@@ -222,3 +216,3 @@ | ||
this.canvas.style.touchAction = 'auto'; | ||
this.canvas.style.msTouchAction = 'auto'; | ||
(this.canvas.style as CSSStyleDeclaration & { msTouchAction: string | null }).msTouchAction = 'auto'; | ||
this.canvas.style.userSelect = 'auto'; | ||
@@ -225,0 +219,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
421855
2816