You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@leafer/layout

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafer/layout - npm Package Compare versions

Comparing version
1.0.0-rc.4
to
1.0.0-rc.5
+4
-4
package.json
{
"name": "@leafer/layout",
"version": "1.0.0-rc.4",
"version": "1.0.0-rc.5",
"description": "@leafer/layout",

@@ -25,8 +25,8 @@ "author": "Chao (Leafer) Wan",

"dependencies": {
"@leafer/math": "1.0.0-rc.4",
"@leafer/platform": "1.0.0-rc.4"
"@leafer/math": "1.0.0-rc.5",
"@leafer/platform": "1.0.0-rc.5"
},
"devDependencies": {
"@leafer/interface": "1.0.0-rc.4"
"@leafer/interface": "1.0.0-rc.5"
}
}

@@ -12,3 +12,3 @@ import { ILeaf, ILeafLayout, ILayoutLocationType, ILayoutBoundsType, IBoundsData, IMatrixData } from '@leafer/interface'

public useZoomProxy: boolean
public proxyZoom: boolean

@@ -39,3 +39,2 @@ // local

public matrixChanged: boolean
public positionChanged: boolean
public scaleChanged: boolean

@@ -77,3 +76,3 @@ public rotationChanged: boolean

this.boxChange()
this.positionChange()
this.matrixChange()
}

@@ -225,8 +224,2 @@

public positionChange(): void {
this.positionChanged = true
this.matrixChanged = true
this.localBoxChanged || this.localBoxChange()
}
public scaleChange(): void {

@@ -245,2 +238,6 @@ this.scaleChanged = true

this.affectScaleOrRotation = true
this.matrixChange()
}
public matrixChange(): void {
this.matrixChanged = true

@@ -247,0 +244,0 @@ this.localBoxChanged || this.localBoxChange()

@@ -5,3 +5,3 @@ import { ILeafLayout, ILeaf, IBoundsData, ILayoutLocationType, IMatrixData, ILayoutBoundsType } from '@leafer/interface';

leaf: ILeaf;
useZoomProxy: boolean;
proxyZoom: boolean;
boxBounds: IBoundsData;

@@ -18,3 +18,2 @@ strokeBounds: IBoundsData;

matrixChanged: boolean;
positionChanged: boolean;
scaleChanged: boolean;

@@ -53,6 +52,6 @@ rotationChanged: boolean;

renderChange(): void;
positionChange(): void;
scaleChange(): void;
rotationChange(): void;
protected _scaleOrRotationChange(): void;
matrixChange(): void;
surfaceChange(): void;

@@ -59,0 +58,0 @@ opacityChange(): void;