Skip to content

Commit 7d3c955

Browse files
committed
Fixed monaco not measuring webfont correctly
Closes #1052
1 parent 8eaf915 commit 7d3c955

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openbullet2-web-client/src/app/shared/components/code-editor/code-editor.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export class CodeEditorComponent implements OnInit {
4949
}
5050

5151
editorLoaded() {
52+
monaco.editor.remeasureFonts();
5253
this.loaded.emit();
5354

5455
if (this.language === 'lolicode') {

0 commit comments

Comments
 (0)