Skip to content

Commit

Permalink
Merge bb198a9 into 2611a9b
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwoo committed Dec 27, 2018
2 parents 2611a9b + bb198a9 commit 3d86bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/CharMeasure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class CharMeasure extends EventEmitter implements ICharMeasure {
}

public measure(options: ITerminalOptions): void {
this._measureElement.style.fontFamily = options.fontFamily;
this._measureElement.style.fontFamily = options.fontFamily;
this._measureElement.style.fontSize = `${options.fontSize}px`;
const geometry = this._measureElement.getBoundingClientRect();
// The element is likely currently display:none, we should retain the
Expand Down

0 comments on commit 3d86bc7

Please sign in to comment.