Merge pull request #3926 from Tyriar/rounding

FINALLY fix blurry canvas/webgl renderer issues due to device pixel rounding errors 🎉
This commit is contained in:
Daniel Imms
2022-07-28 10:25:01 -07:00
committed by GitHub
7 changed files with 105 additions and 86 deletions
@@ -49,6 +49,8 @@ export abstract class BaseRenderLayer implements IRenderLayer {
italic: false
};
public get canvas(): HTMLCanvasElement { return this._canvas; }
constructor(
private _container: HTMLElement,
id: string,