Remove default width value

This commit is contained in:
Nick Pezza
2019-12-07 15:39:34 -05:00
parent 58078459f8
commit 48aebec01f
2 changed files with 2 additions and 2 deletions
@@ -153,7 +153,7 @@ export abstract class BaseRenderLayer implements IRenderLayer {
* @param x The column to fill. * @param x The column to fill.
* @param y The row to fill. * @param y The row to fill.
*/ */
protected _fillLeftLineAtCell(x: number, y: number, width: number = 1): void { protected _fillLeftLineAtCell(x: number, y: number, width: number): void {
this._ctx.fillRect( this._ctx.fillRect(
x * this._scaledCellWidth, x * this._scaledCellWidth,
y * this._scaledCellHeight, y * this._scaledCellHeight,
+1 -1
View File
@@ -171,7 +171,7 @@ export abstract class BaseRenderLayer implements IRenderLayer {
* @param x The column to fill. * @param x The column to fill.
* @param y The row to fill. * @param y The row to fill.
*/ */
protected _fillLeftLineAtCell(x: number, y: number, width: number = 1): void { protected _fillLeftLineAtCell(x: number, y: number, width: number): void {
this._ctx.fillRect( this._ctx.fillRect(
x * this._scaledCellWidth, x * this._scaledCellWidth,
y * this._scaledCellHeight, y * this._scaledCellHeight,