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

fix: separate resize handling and view port update #5722

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ivan-nejezchleb
Copy link
Contributor

If view port update is called before resize takes full effect it leads to scaleRation = 0 and division by 0 => NaN.

This change postpones updateViewPort after resize and proper behavior.

JIRA: LX-697
risk: high


Important

Please, don't forget to run rush change for the commits that introduce new features 🙏


Refer to documentation to see how to run checks and tests in the pull request. This is the list of the most used commands:

extended test - backstop
extended test - integrated
extended test - isolated
extended test - record

If view port update is called before resize takes full effect it leads to scaleRation = 0
and division by 0 => NaN.

This change postpones updateViewPort after resize and proper behavior.

JIRA: LX-697
risk: high
pbenes
pbenes previously approved these changes Dec 18, 2024
@pbenes pbenes dismissed their stale review December 18, 2024 07:36

we want to merge later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants