Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing app.sprite.pixelRatio doesn't update the editor viewport area #4631

Open
dacap opened this issue Aug 30, 2024 · 0 comments
Open

Changing app.sprite.pixelRatio doesn't update the editor viewport area #4631

dacap opened this issue Aug 30, 2024 · 0 comments
Labels
bug scripting Related to scripting API

Comments

@dacap
Copy link
Member

dacap commented Aug 30, 2024

From: https://x.com/Hey_Its_Lollie/status/1829013423721750922 just doing (e.g.)

app.sprite.pixelRatio = Size(4, 1)
app.command.ScrollCenter()

Doesn't work as expected because the editor viewport area is not updated correctly.

@dacap dacap added bug scripting Related to scripting API labels Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug scripting Related to scripting API
Projects
Status: No status
Development

No branches or pull requests

1 participant