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.

scaling bug in 5.3.1 and above

See original GitHub issue

Expected Behavior

Scale the stage proportionally with the render view area. This works fine in 5.3.0 or below.

Current Behavior

As of 5.3.1 (or higher) the content is pushed up (in the Y direction) and if it’s scaled far enough it scales completely out of frame.

Possible Solution

No idea. I don’t know the internals of PIXI well enough to speculate.

Steps to Reproduce

This is 5.3.0 aka working = https://jsfiddle.net/v6zpbc0q/ (see the white box in the upper left corner) This is 5.3.3 aka broken = https://jsfiddle.net/krLb1gv7/ (see the white box positioned partially off screen)

Environment

  • pixi.js version: 5.3.1
  • Browser & Version: Version 14.0 (15610.1.28.1.9, 15610)
  • OS & Version: Mac OS 10.15.7
  • Running Example: https://jsfiddle.net/krLb1gv7/

I’ve also tried this on Chrome and Firefox and it has the same behavior there.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bigtimebuddycommented, Dec 13, 2020

I swear this was fixed, @SukantPal seems like a you question.

0reactions
rizencommented, Dec 13, 2020

Thank you for telling me the right way to do this. I followed a tutorial I found online, which was obviously flawed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spyder IDE GUI elements don't reset scaling with ... - GitHub
Problem Description​​ the whole IDE unusable. But using this function correctly resets the spacing between the panes but leaves the scaling of ...
Read more >
Bug #1857383 “Fractional scaling in Xorg applies to both ...
The issue is that it basically zooms both the displays, ... started just using a lower display resolution and gave up on fractional...
Read more >
Version 5.3.1 – WordPress.org Forums
1 release post, WordPress versions 5.3 and earlier are affected by the following bugs, which are fixed in version 5.3.1. Updated versions of ......
Read more >
1290 Scaling Issues on External Monitor - TeXstudio
On my main desktop, the program looks the same, but then upon moving it to the external monitor the scaling does not adjust...
Read more >
Motion release notes - Apple Support
Then make sure to back up your important files, ... Fixes an issue where scale was applied in the Unstabilize behavior when ......
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