mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Simplify place calculation
This commit is contained in:
@ -54,7 +54,7 @@ namespace osu.Game.Overlays.Rankings.Tables
|
||||
value.ForEach(_ => backgroundFlow.Add(new TableRowBackground()));
|
||||
|
||||
Columns = CreateHeaders();
|
||||
Content = value.Select((s, i) => CreateContent(page * items_per_page - (items_per_page - i), s)).ToArray().ToRectangular();
|
||||
Content = value.Select((s, i) => CreateContent((page - 1) * items_per_page + i, s)).ToArray().ToRectangular();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user