dock-spawn-ts
Advanced tools
Comparing version 2.39.0 to 2.40.0
@@ -100,4 +100,6 @@ import { EventHandler } from "./EventHandler.js"; | ||
for (let f of this.previousContainer.dockManager.iframes) { | ||
this.iframeEventHandlers.push(new EventHandler(f, 'mouseup', this.onMouseUp.bind(this))); | ||
this.iframeEventHandlers.push(new EventHandler(f, 'touchend', this.onMouseUp.bind(this))); | ||
this.iframeEventHandlers.push(new EventHandler(f.contentWindow, 'mousemove', this.onMouseMoved.bind(this))); | ||
this.iframeEventHandlers.push(new EventHandler(f.contentWindow, 'mouseup', this.onMouseUp.bind(this))); | ||
this.iframeEventHandlers.push(new EventHandler(f.contentWindow, 'touchmove', this.onMouseMoved.bind(this))); | ||
this.iframeEventHandlers.push(new EventHandler(f.contentWindow, 'touchend', this.onMouseUp.bind(this))); | ||
} | ||
@@ -104,0 +106,0 @@ } |
{ | ||
"name": "dock-spawn-ts", | ||
"version": "2.39.0", | ||
"version": "2.40.0", | ||
"description": "DockSpawn Typescript Version", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -130,6 +130,8 @@ import { IDockContainer } from "./interfaces/IDockContainer.js"; | ||
if (this.previousContainer.dockManager.iframes){ | ||
for (let f of this.previousContainer.dockManager.iframes){ | ||
this.iframeEventHandlers.push(new EventHandler(f, 'mouseup', this.onMouseUp.bind(this))); | ||
this.iframeEventHandlers.push(new EventHandler(f, 'touchend', this.onMouseUp.bind(this))); | ||
if (this.previousContainer.dockManager.iframes) { | ||
for (let f of this.previousContainer.dockManager.iframes) { | ||
this.iframeEventHandlers.push(new EventHandler(f.contentWindow, 'mousemove', this.onMouseMoved.bind(this))); | ||
this.iframeEventHandlers.push(new EventHandler(f.contentWindow, 'mouseup', this.onMouseUp.bind(this))); | ||
this.iframeEventHandlers.push(new EventHandler(f.contentWindow, 'touchmove', this.onMouseMoved.bind(this))); | ||
this.iframeEventHandlers.push(new EventHandler(f.contentWindow, 'touchend', this.onMouseUp.bind(this))); | ||
} | ||
@@ -136,0 +138,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
683463
9688