dock-spawn-ts
Advanced tools
Comparing version 2.533.0 to 2.534.0
@@ -29,3 +29,3 @@ import { Utils } from "./Utils.js"; | ||
this.elementContentContainer._panel = this; | ||
this.elementContentContainer.addEventListener('click', (e) => { | ||
this.elementContentContainer.addEventListener('pointerdown', (e) => { | ||
try { | ||
@@ -294,3 +294,4 @@ if (this.isDialog) { | ||
this.elementContent.hidden = false; | ||
this.dockManager.config.dialogRootElement.appendChild(this.elementContentContainer); | ||
if (this.elementContentContainer.parentElement !== this.dockManager.config.dialogRootElement) | ||
this.dockManager.config.dialogRootElement.appendChild(this.elementContentContainer); | ||
} | ||
@@ -297,0 +298,0 @@ resize(width, height) { |
{ | ||
"name": "dock-spawn-ts", | ||
"version": "2.533.0", | ||
"version": "2.534.0", | ||
"description": "DockSpawn Typescript Version", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -79,3 +79,3 @@ import { DockManager } from "./DockManager.js"; | ||
(<any>this.elementContentContainer)._panel = this; | ||
this.elementContentContainer.addEventListener('click', (e) => { | ||
this.elementContentContainer.addEventListener('pointerdown', (e) => { | ||
try { | ||
@@ -374,3 +374,4 @@ if (this.isDialog) { | ||
this.elementContent.hidden = false; | ||
this.dockManager.config.dialogRootElement.appendChild(this.elementContentContainer); | ||
if (this.elementContentContainer.parentElement !== this.dockManager.config.dialogRootElement) | ||
this.dockManager.config.dialogRootElement.appendChild(this.elementContentContainer); | ||
} | ||
@@ -377,0 +378,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
790529
10977