@babylonjs/gui-editor 7.27.0 → 7.27.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.
|
@@ -1553,6 +1553,10 @@ export class HistoryStack implements IDisposable {
|
|
|
1553
1553
|
* Resets the stack
|
|
1554
1554
|
*/
|
|
1555
1555
|
reset(): void;
|
|
1556
|
+
/**
|
|
1557
|
+
* Remove the n-1 element of the stack
|
|
1558
|
+
*/
|
|
1559
|
+
collapseLastTwo(): void;
|
|
1556
1560
|
private _generateJSONDiff;
|
|
1557
1561
|
private _applyJSONDiff;
|
|
1558
1562
|
private _copy;
|
|
@@ -1920,11 +1924,13 @@ import { INodeData } from "@babylonjs/gui-editor/nodeGraphSystem/interfaces/node
|
|
|
1920
1924
|
import { IPortData } from "@babylonjs/gui-editor/nodeGraphSystem/interfaces/portData";
|
|
1921
1925
|
import { ISelectionChangedOptions } from "@babylonjs/gui-editor/nodeGraphSystem/interfaces/selectionChangedOptions";
|
|
1922
1926
|
import { NodePort } from "@babylonjs/gui-editor/nodeGraphSystem/nodePort";
|
|
1927
|
+
import { HistoryStack } from "@babylonjs/gui-editor/historyStack";
|
|
1923
1928
|
export class StateManager {
|
|
1924
1929
|
data: any;
|
|
1925
1930
|
hostDocument: Document;
|
|
1926
1931
|
lockObject: any;
|
|
1927
1932
|
modalIsDisplayed: boolean;
|
|
1933
|
+
historyStack: HistoryStack;
|
|
1928
1934
|
onSearchBoxRequiredObservable: Observable<{
|
|
1929
1935
|
x: number;
|
|
1930
1936
|
y: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/gui-editor",
|
|
3
|
-
"version": "7.27.
|
|
3
|
+
"version": "7.27.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": "^7.27.
|
|
28
|
-
"@babylonjs/gui": "^7.27.
|
|
27
|
+
"@babylonjs/core": "^7.27.2",
|
|
28
|
+
"@babylonjs/gui": "^7.27.2",
|
|
29
29
|
"react": "^17.0.2",
|
|
30
30
|
"react-dom": "^17.0.2"
|
|
31
31
|
},
|