Skip to content

Commit

Permalink
fix silly screen width / height mixup
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodBoyDigital committed Jul 8, 2022
1 parent 7326aa5 commit 34d693b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/view/ViewSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class ViewSystem implements ISystem
* @param {number} screenHeight - The new height of the screen.
*/
this.renderer.emit('resize', screenWidth, screenHeight);
this.renderer.runners.resize.emit(this.screen.height, this.screen.width);
this.renderer.runners.resize.emit(this.screen.width, this.screen.height);
}

/**
Expand Down

0 comments on commit 34d693b

Please sign in to comment.