Skip to content

Commit

Permalink
marking some fields as private
Browse files Browse the repository at this point in the history
Signed-off-by: Roman <[email protected]>
  • Loading branch information
ixrock committed Apr 22, 2022
1 parent 2f6e5f1 commit a1201e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/renderer/components/monaco-editor/monaco-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a1201e3

Please sign in to comment.