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

GetScaleWidth中分母为0了 #230

Closed
TencentPlayer opened this issue Oct 20, 2022 · 2 comments
Closed

GetScaleWidth中分母为0了 #230

TencentPlayer opened this issue Oct 20, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@TencentPlayer
Copy link

int tick = count / splitNum;
这个splitNum可能为0 在webgl这要出问题

@TencentPlayer
Copy link
Author

int tick = splitNum == 0 ? 0 : count / splitNum;
目前改为这个能正常处理

@monitor1394
Copy link
Collaborator

是的,master分支处理过了

@monitor1394 monitor1394 added the bug Something isn't working label Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants