mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
2f6e5f1e31
commit
a1201e3442
1 file changed
+3
-3
@@ -52,12 +52,12 @@ export class MonacoEditor extends React.Component<MonacoEditorProps> {
|
||||
return Uri.file(`/monaco-editor/${id}`);
|
||||
}
|
||||
|
||||
public staticId = `editor-id#${Math.round(1e7 * Math.random())}`;
|
||||
public dispose = disposer();
|
||||
private staticId = `editor-id#${Math.round(1e7 * Math.random())}`;
|
||||
private dispose = disposer();
|
||||
|
||||
@observable.ref containerElem: HTMLElement;
|
||||
@observable.ref editor: editor.IStandaloneCodeEditor;
|
||||
@observable private dimensions: { width?: number; height?: number } = {};
|
||||
@observable readonly dimensions: { width?: number; height?: number } = {};
|
||||
@observable private unmounting = false;
|
||||
|
||||
constructor(props: MonacoEditorProps) {
|
||||
|
||||
Reference in new issue
Block a user