dock-spawn-ts
Advanced tools
Comparing version 2.502.0 to 2.503.0
@@ -81,4 +81,11 @@ import { EventHandler } from "./EventHandler.js"; | ||
else { | ||
this.previousContainer.resize(newPreviousPanelSize, previousHeight); | ||
this.nextContainer.resize(newNextPanelSize, nextHeight); | ||
if (deltaMovement < 0) { | ||
this.previousContainer.resize(newPreviousPanelSize, previousHeight); | ||
this.nextContainer.resize(newNextPanelSize, nextHeight); | ||
} | ||
else { | ||
this.nextContainer.resize(newNextPanelSize, nextHeight); | ||
this.previousContainer.resize(newPreviousPanelSize, previousHeight); | ||
this.nextContainer.resize(newNextPanelSize, nextHeight); | ||
} | ||
} | ||
@@ -85,0 +92,0 @@ document.dispatchEvent(this.dockSpawnResizedEvent); |
@@ -136,2 +136,4 @@ import { SplitterBar } from "./SplitterBar.js"; | ||
return; | ||
this.panelElement.style.width = width + 'px'; | ||
this.panelElement.style.height = height + 'px'; | ||
let i; | ||
@@ -189,6 +191,4 @@ // Adjust the fixed dimension that is common to all (i.e. width, if stacked vertical; height, if stacked horizontally) | ||
} | ||
this.panelElement.style.width = width + 'px'; | ||
this.panelElement.style.height = height + 'px'; | ||
} | ||
} | ||
//# sourceMappingURL=SplitterPanel.js.map |
{ | ||
"name": "dock-spawn-ts", | ||
"version": "2.502.0", | ||
"version": "2.503.0", | ||
"description": "DockSpawn Typescript Version", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -111,4 +111,10 @@ import { IDockContainer } from "./interfaces/IDockContainer.js"; | ||
else { | ||
this.previousContainer.resize(newPreviousPanelSize, previousHeight); | ||
this.nextContainer.resize(newNextPanelSize, nextHeight); | ||
if (deltaMovement < 0) { | ||
this.previousContainer.resize(newPreviousPanelSize, previousHeight); | ||
this.nextContainer.resize(newNextPanelSize, nextHeight); | ||
} else { | ||
this.nextContainer.resize(newNextPanelSize, nextHeight); | ||
this.previousContainer.resize(newPreviousPanelSize, previousHeight); | ||
this.nextContainer.resize(newNextPanelSize, nextHeight); | ||
} | ||
} | ||
@@ -115,0 +121,0 @@ |
@@ -162,2 +162,5 @@ import { SplitterBar } from "./SplitterBar.js"; | ||
this.panelElement.style.width = width + 'px'; | ||
this.panelElement.style.height = height + 'px'; | ||
let i; | ||
@@ -225,6 +228,3 @@ | ||
} | ||
this.panelElement.style.width = width + 'px'; | ||
this.panelElement.style.height = height + 'px'; | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
752222
10439