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:
parent
2f6e5f1e31
commit
a1201e3442
@ -52,12 +52,12 @@ export class MonacoEditor extends React.Component<MonacoEditorProps> {
|
|||||||
return Uri.file(`/monaco-editor/${id}`);
|
return Uri.file(`/monaco-editor/${id}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
public staticId = `editor-id#${Math.round(1e7 * Math.random())}`;
|
private staticId = `editor-id#${Math.round(1e7 * Math.random())}`;
|
||||||
public dispose = disposer();
|
private dispose = disposer();
|
||||||
|
|
||||||
@observable.ref containerElem: HTMLElement;
|
@observable.ref containerElem: HTMLElement;
|
||||||
@observable.ref editor: editor.IStandaloneCodeEditor;
|
@observable.ref editor: editor.IStandaloneCodeEditor;
|
||||||
@observable private dimensions: { width?: number; height?: number } = {};
|
@observable readonly dimensions: { width?: number; height?: number } = {};
|
||||||
@observable private unmounting = false;
|
@observable private unmounting = false;
|
||||||
|
|
||||||
constructor(props: MonacoEditorProps) {
|
constructor(props: MonacoEditorProps) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user