Skip to content

Commit 9aa1659

Browse files
committed
removed golden layout dependency
1 parent c0b6b22 commit 9aa1659

File tree

14 files changed

+695
-1369
lines changed

14 files changed

+695
-1369
lines changed

package-lock.json

Lines changed: 0 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@
116116
"flexlayout-react": "^0.6.10",
117117
"fourier-transform": "^1.1.2",
118118
"fs-extra": "^6.0.1",
119-
"golden-layout": "^1.5.9",
120119
"immutability-helper": "^3.1.1",
121120
"jquery": "^3.5.1",
122121
"json-stable-stringify": "^1.0.1",

packages/eez-studio-shared/globals.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,4 @@ interface CanvasRenderingContext2D {
1919
}
2020

2121
//
22-
declare class GoldenLayout {
23-
constructor(config: any, layout: any);
24-
}
25-
2622
declare module "xml-formatter";

packages/eez-studio-ui/_stylesheets/app.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@import "quill";
2-
@import "goldenlayout";
32
@import "animate";
43
@import "../../../node_modules/react-toastify/dist/ReactToastify.css";
54

@@ -524,7 +523,7 @@ input::placeholder {
524523
left: -@dock-switcher-size / 2 - @splitterSize;
525524
top: calc(50% - @dock-switcher-size / 2);
526525
width: @dock-switcher-size / 2;
527-
height: @dock-switcher-size;
526+
height: @dock-switcher-size!important;
528527
border-top-left-radius: @dock-switcher-size / 2;
529528
border-bottom-left-radius: @dock-switcher-size / 2;
530529
background-color: @panelHeaderColor;

packages/eez-studio-ui/_stylesheets/goldenlayout.less

Lines changed: 0 additions & 180 deletions
This file was deleted.

packages/eez-studio-ui/chart/Measurement.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -387,17 +387,4 @@ export class Measurement implements IMeasurement {
387387

388388
return this.name;
389389
}
390-
391-
get chartPanelConfiguration() {
392-
return {
393-
type: "component",
394-
componentName: "MeasurementValue",
395-
id: this.measurementId,
396-
componentState: {
397-
measurementId: this.measurementId
398-
},
399-
title: this.chartPanelTitle,
400-
isClosable: false
401-
};
402-
}
403390
}

0 commit comments

Comments
 (0)