question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

line number:4923, calculateProjection(destinationFrame?: PIXI.Rectangle, sourceFrame: PIXI.Rectangle, resolution: number, root: boolean): void;

See original GitHub issue

Expected 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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
bigtimebuddycommented, Jul 27, 2020

Duplicate so closing. We have a fix already waiting for approval. Sorry for the inconvenience will have a patch out soon.

1reaction
naranjamecanicacommented, Jul 27, 2020
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found