New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dock-spawn-ts

Package Overview
Dependencies
Maintainers
1
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dock-spawn-ts - npm Package Compare versions

Comparing version 2.523.1 to 2.523.2

7

lib/js/PanelContainer.js

@@ -304,3 +304,3 @@ import { Utils } from "./Utils.js";

const rootRect = this.dockManager.config.dialogRootElement.getBoundingClientRect();
this.elementContentContainer.style.left = (rect.x /*- rootRect.x*/) + 'px';
this.elementContentContainer.style.left = (rect.x - rootRect.x) + 'px';
this.elementContentContainer.style.top = (rect.y - rootRect.y) + 'px';

@@ -311,6 +311,5 @@ this.elementContentContainer.style.width = rect.width + 'px';

setDialogPosition(x, y) {
const rootRect = this.dockManager.config.dialogRootElement.getBoundingClientRect();
this.elementContentContainer.style.left = (x - rootRect.x) + 'px';
this.elementContentContainer.style.left = x + 'px';
//todo, 25px if it is a dialog, is it always 25px? where do we know...
this.elementContentContainer.style.top = (y + this.elementTitle.clientHeight /*- rootRect.y*/) + 'px';
this.elementContentContainer.style.top = (y + this.elementTitle.clientHeight) + 'px';
}

@@ -317,0 +316,0 @@ setVisible(isVisible) {

{
"name": "dock-spawn-ts",
"version": "2.523.1",
"version": "2.523.2",
"description": "DockSpawn Typescript Version",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -386,3 +386,3 @@ import { DockManager } from "./DockManager.js";

const rootRect = this.dockManager.config.dialogRootElement.getBoundingClientRect();
this.elementContentContainer.style.left = (rect.x /*- rootRect.x*/) + 'px';
this.elementContentContainer.style.left = (rect.x - rootRect.x) + 'px';
this.elementContentContainer.style.top = (rect.y - rootRect.y) + 'px';

@@ -394,6 +394,5 @@ this.elementContentContainer.style.width = rect.width + 'px';

setDialogPosition(x: number, y: number) {
const rootRect = this.dockManager.config.dialogRootElement.getBoundingClientRect();
this.elementContentContainer.style.left = (x - rootRect.x) + 'px';
this.elementContentContainer.style.left = x + 'px';
//todo, 25px if it is a dialog, is it always 25px? where do we know...
this.elementContentContainer.style.top = (y + this.elementTitle.clientHeight /*- rootRect.y*/) + 'px';
this.elementContentContainer.style.top = (y + this.elementTitle.clientHeight) + 'px';
}

@@ -400,0 +399,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc