Skip to content

Commit

Permalink
Resize fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jugacu committed Oct 4, 2019
1 parent 8ff5864 commit 98c5db6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/editor/Editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export default class Editor {
*/
public resize(width: number, height: number): void {
this.pixi.renderer.resize(width, height);
this.viewport.resize(width, height);
}

public get renderer(): PIXI.Renderer {
Expand Down

0 comments on commit 98c5db6

Please sign in to comment.