mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 15:22:55 +08:00
Rename to more readable names
This commit is contained in:
parent
30a4e77097
commit
abb4c943a7
@ -366,7 +366,7 @@ namespace osu.Game.Online.Chat
|
||||
|
||||
public bool Overlaps(Link otherLink) => Overlaps(otherLink.Index, otherLink.Length);
|
||||
|
||||
public bool Overlaps(int index, int length) => Index < index + length && index < Index + Length;
|
||||
public bool Overlaps(int otherIndex, int otherLength) => Index < otherIndex + otherLength && otherIndex < Index + Length;
|
||||
|
||||
public int CompareTo(Link? otherLink) => Index > otherLink?.Index ? 1 : -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user