committed by
Paris Kasidiaris
parent
e1e5c1c44f
commit
2eaa244907
@@ -53,6 +53,7 @@ export class Renderer extends EventEmitter implements IRenderer {
|
|||||||
};
|
};
|
||||||
this._devicePixelRatio = window.devicePixelRatio;
|
this._devicePixelRatio = window.devicePixelRatio;
|
||||||
this._updateDimensions();
|
this._updateDimensions();
|
||||||
|
this.onOptionsChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
public onWindowResize(devicePixelRatio: number): void {
|
public onWindowResize(devicePixelRatio: number): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user