You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When getting into pixelsToPositionY from calculateItemPosition it sends round method: Math.round(). Therefore pixelsToPositionY returns 2 even though my maxRows is 2 which causes problems with grid colliison. This could have been solved if the round method in pixelsToPositionY would have been Math.floor().
Is there any way to do this?
The text was updated successfully, but these errors were encountered:
When getting into
pixelsToPositionY
fromcalculateItemPosition
it sends round method:Math.round()
. ThereforepixelsToPositionY
returns 2 even though mymaxRows
is 2 which causes problems with grid colliison. This could have been solved if the round method inpixelsToPositionY
would have beenMath.floor()
.Is there any way to do this?
The text was updated successfully, but these errors were encountered: