Adopt CharSizeService in MouseHelper

This commit is contained in:
Daniel Imms
2019-06-08 15:20:03 -07:00
parent 38bb122bbd
commit 6246bb5026
10 changed files with 42 additions and 49 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ export class MouseZoneManager extends Disposable implements IMouseZoneManager {
}
private _findZoneEventAt(e: MouseEvent): IMouseZone {
const coords = this._terminal.mouseHelper.getCoords(e, this._terminal.screenElement, this._terminal.charMeasure, this._terminal.cols, this._terminal.rows);
const coords = this._terminal.mouseHelper.getCoords(e, this._terminal.screenElement, this._terminal.cols, this._terminal.rows);
if (!coords) {
return null;
}