Fix some function parameters

This commit is contained in:
CHaBou
2017-12-15 00:02:37 +01:00
parent 9f85790ad1
commit 9c5aaed441
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export class TextRenderLayer extends BaseRenderLayer {
private _characterFont: string;
private _characterOverlapCache: { [key: string]: boolean } = {};
constructor(container: HTMLElement, zIndex: number, alpha: boolean, colors: IColorSet) {
constructor(container: HTMLElement, zIndex: number, colors: IColorSet, alpha: boolean) {
super(container, 'text', zIndex, alpha, colors);
this._state = new GridCache<CharData>();
}