@shapediver/viewer.shared.services
Advanced tools
Comparing version 2.12.7 to 2.12.8
@@ -245,4 +245,2 @@ "use strict"; | ||
onTouchUp(event) { | ||
if (this._systemInfo.isMobile === false) | ||
return; | ||
if (event.composedPath().includes(this._canvas.parentElement)) { | ||
@@ -255,4 +253,2 @@ event.stopPropagation(); | ||
onTouchCancel(event) { | ||
if (this._systemInfo.isMobile === false) | ||
return; | ||
if (event.composedPath().includes(this._canvas.parentElement)) { | ||
@@ -265,4 +261,2 @@ event.stopPropagation(); | ||
onTouchMove(event) { | ||
if (this._systemInfo.isMobile === false) | ||
return; | ||
if (event.composedPath().includes(this._canvas.parentElement)) { | ||
@@ -274,4 +268,2 @@ event.stopPropagation(); | ||
onTouchStart(event) { | ||
if (this._systemInfo.isMobile === false) | ||
return; | ||
if (event.composedPath().includes(this._canvas.parentElement)) { | ||
@@ -278,0 +270,0 @@ event.stopPropagation(); |
{ | ||
"name": "@shapediver/viewer.shared.services", | ||
"version": "2.12.7", | ||
"version": "2.12.8", | ||
"description": "", | ||
@@ -45,3 +45,3 @@ "keywords": [], | ||
"@shapediver/viewer.settings": "0.5.7", | ||
"@shapediver/viewer.shared.build-data": "2.12.7", | ||
"@shapediver/viewer.shared.build-data": "2.12.8", | ||
"@types/dompurify": "^2.3.1", | ||
@@ -56,3 +56,3 @@ "@types/ua-parser-js": "^0.7.36", | ||
}, | ||
"gitHead": "60997db1d77ac9e274e53da1caa25a190f6405b6" | ||
"gitHead": "615c459595cdea9ceeca8a307d469c617ce36684" | ||
} |
@@ -293,3 +293,2 @@ import { SystemInfo } from '../system-info/SystemInfo'; | ||
private onTouchUp(event: TouchEvent): void { | ||
if(this._systemInfo.isMobile === false) return; | ||
if (event.composedPath().includes(this._canvas.parentElement!)) { | ||
@@ -303,3 +302,2 @@ event.stopPropagation(); | ||
private onTouchCancel(event: TouchEvent): void { | ||
if(this._systemInfo.isMobile === false) return; | ||
if (event.composedPath().includes(this._canvas.parentElement!)) { | ||
@@ -313,3 +311,2 @@ event.stopPropagation(); | ||
private onTouchMove(event: TouchEvent): void { | ||
if(this._systemInfo.isMobile === false) return; | ||
if (event.composedPath().includes(this._canvas.parentElement!)) { | ||
@@ -322,3 +319,2 @@ event.stopPropagation(); | ||
private onTouchStart(event: TouchEvent): void { | ||
if(this._systemInfo.isMobile === false) return; | ||
if (event.composedPath().includes(this._canvas.parentElement!)) { | ||
@@ -325,0 +321,0 @@ event.stopPropagation(); |
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
342647
5344
+ Added@shapediver/viewer.shared.build-data@2.12.8(transitive)
- Removed@shapediver/viewer.shared.build-data@2.12.7(transitive)