Rename coordinator to service

This commit is contained in:
Daniel Imms
2019-06-08 19:28:43 -07:00
parent 54d7bb0b38
commit cbfbe232d0
4 changed files with 37 additions and 37 deletions
+3 -3
View File
@@ -39,7 +39,7 @@ export class FitAddon implements ITerminalAddon {
// Force a full render
if (this._terminal.rows !== dims.rows || this._terminal.cols !== dims.cols) {
core._renderCoordinator.clear();
core._renderService.clear();
this._terminal.resize(dims.cols, dims.rows);
}
}
@@ -71,8 +71,8 @@ export class FitAddon implements ITerminalAddon {
const availableHeight = parentElementHeight - elementPaddingVer;
const availableWidth = parentElementWidth - elementPaddingHor - core.viewport.scrollBarWidth;
const geometry = {
cols: Math.floor(availableWidth / core._renderCoordinator.dimensions.actualCellWidth),
rows: Math.floor(availableHeight / core._renderCoordinator.dimensions.actualCellHeight)
cols: Math.floor(availableWidth / core._renderService.dimensions.actualCellWidth),
rows: Math.floor(availableHeight / core._renderService.dimensions.actualCellHeight)
};
return geometry;
}