Skip to content

Commit

Permalink
Fix font rendering bug with monaco
Browse files Browse the repository at this point in the history
  • Loading branch information
calebegg committed Mar 20, 2017
1 parent b7d4de2 commit 0257eb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import * as ts from 'typescript';
import {StrictLevel, ViewType} from './model';
import {decodeUrlData, encodeUrlData} from './urls';

document.body.style.display = 'block';

const DEFAULT_COMPILER_OPTIONS:
monaco.languages.typescript.CompilerOptions = Object.freeze({
module: monaco.languages.typescript.ModuleKind.CommonJS,
Expand Down Expand Up @@ -109,8 +111,6 @@ export function run(deps = {
return document.getElementById(id);
}
}) {
deps.body.style.display = 'block';

deps.registerDialog(deps.getById('settings'));
deps.registerDialog(deps.getById('share'));

Expand Down

0 comments on commit 0257eb2

Please sign in to comment.