mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-03-30 00:39:58 -04:00
Merge pull request #2730 from eltociear/patch-2
chore: update MenuList.hx
This commit is contained in:
commit
9a26837374
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class MenuTypedList<T:MenuListItem> extends FlxTypedGroup<T>
|
|||
*/
|
||||
function navGrid(latSize:Int, latPrev:Bool, latNext:Bool, latAllowWrap:Bool, prev:Bool, next:Bool, allowWrap:Bool):Int
|
||||
{
|
||||
// The grid lenth along the variable-length axis
|
||||
// The grid length along the variable-length axis
|
||||
var size = Math.ceil(length / latSize);
|
||||
// The selected position along the variable-length axis
|
||||
var index = Math.floor(selectedIndex / latSize);
|
||||
|
|
Loading…
Add table
Reference in a new issue