@babylonjs/gui-editor 5.43.1 → 5.43.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1075,6 +1075,8 @@ export class WorkbenchComponent extends React.Component<IWorkbenchComponentProps
|
|
1075
1075
|
private _pointerTravelDistance;
|
1076
1076
|
private _processSelectionOnUp;
|
1077
1077
|
private _visibleRegionContainer;
|
1078
|
+
private _centerZoomMousePosition;
|
1079
|
+
private _hasPerformedDragZoom;
|
1078
1080
|
private static _addedFonts;
|
1079
1081
|
static get addedFonts(): string[];
|
1080
1082
|
get visibleRegionContainer(): Container;
|
@@ -1143,6 +1145,7 @@ export class WorkbenchComponent extends React.Component<IWorkbenchComponentProps
|
|
1143
1145
|
panning(): void;
|
1144
1146
|
moveControls(moveHorizontal: boolean, amount: number): void;
|
1145
1147
|
zoomWheel(event: React.WheelEvent): void;
|
1148
|
+
private _panZoomToCenter;
|
1146
1149
|
zoomDrag(event: React.MouseEvent): void;
|
1147
1150
|
zooming(delta: number): void;
|
1148
1151
|
zeroIfClose(vec: Vector3): void;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/gui-editor",
|
3
|
-
"version": "5.43.
|
3
|
+
"version": "5.43.2",
|
4
4
|
"main": "dist/babylon.guiEditor.max.js",
|
5
5
|
"module": "dist/babylon.guiEditor.max.js",
|
6
6
|
"esnext": "dist/babylon.guiEditor.max.js",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
"@types/react-dom": ">=16.0.9"
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
27
|
-
"@babylonjs/core": "^5.43.
|
28
|
-
"@babylonjs/gui": "^5.43.
|
27
|
+
"@babylonjs/core": "^5.43.2",
|
28
|
+
"@babylonjs/gui": "^5.43.2",
|
29
29
|
"react": "^17.0.2",
|
30
30
|
"react-dom": "^17.0.2",
|
31
31
|
"rimraf": "^3.0.2",
|