We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Math.ceil(nodes.length / 2) not works correctly when nodes.length === 1
Math.ceil(nodes.length / 2)
nodes.length === 1
The text was updated successfully, but these errors were encountered:
Hi Denis That's a good catch! Thank you, I will fix and update it later today
Sorry, something went wrong.
@NeXTs, thanks! p.s. didn't like to write some code in 3d-party scripts, so my solution was:
Clusterize.prototype.getRowsHeight = (function(underlying){ return function(){ var ceil = Math.ceil; Math.ceil = Math.floor; var returnValue = underlying.apply(this, arguments); Math.ceil = ceil; return returnValue; }; })(Clusterize.prototype.getRowsHeight)
21912dc
No branches or pull requests
Math.ceil(nodes.length / 2)
not works correctly whennodes.length === 1
The text was updated successfully, but these errors were encountered: