Remove default width value
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user