1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

marking some fields as private

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2022-04-22 21:57:05 +03:00
parent 2f6e5f1e31
commit a1201e3442

View File

@ -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) {