line number:4923, calculateProjection(destinationFrame?: PIXI.Rectangle, sourceFrame: PIXI.Rectangle, resolution: number, root: boolean): void;
See original GitHub issueExpected Behavior
In this method, we pass parameters, with mandatory and optional
Current Behavior
But in this method, passed optional first and then mandatory
Possible Solution
remove optional parameter for destinationFrame calculateProjection(destinationFrame: PIXI.Rectangle, sourceFrame: PIXI.Rectangle, resolution: number, root: boolean): void;
Steps to Reproduce
Environment
pixi.js
version: e.g. ^5.3.1- Browser & Version: e.g. Chrome 67
- OS & Version: e.g. Ubuntu 18.04
- Running Example: url
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top Results From Across the Web
PixiJS API Documentation
* The destination frame used to calculate the current projection matrix. *; * The destination frame is the rectangle in the render-target into...
Read more >Draw a rectangle with pixi.js
You can't render geometry ( Pixi.Rectangle ), they are meant for calculations only. You can do the following instead: var graphics = new...
Read more >cacheAsBitmap and filters bug · Issue #6197 · pixijs/pixijs
I use cacheAsBitmap in game, PIXI version is 5.1.5. ... _boundsRect = new Rectangle(); } rect = this. ... sourceFrame, context.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Duplicate so closing. We have a fix already waiting for approval. Sorry for the inconvenience will have a patch out soon.
This is reported in in https://github.com/pixijs/pixi.js/issues/6774