-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] viewport: warning message on resized viewport size
Fix warning not closing issue caused by changing the value of DEFAULT_SHEETVIEW_SIZE to 0 from 1000 in a previous PR #2188. The problem arose due to xRatio and yRatio becoming NaN and Infinity prior to mounting. To resolve this issue, Added an if condition that returns the function if either xRatio or yRatio is Infinity. Task-3318806 closes #2504 X-original-commit: 254ac6c Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>
- Loading branch information
1 parent
3169b5c
commit 3632c62
Showing
3 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters