mirror of
https://github.com/ppy/osu.git
synced 2025-01-21 06:02:56 +08:00
Fix edge case making test fail
Forgot that if a PM channel was the last tab, it hid itself upon selecting due to changing its width, which made the last-visible-selected assert fail. Made this particular test only use non-PM channels.
This commit is contained in:
parent
0f40671e69
commit
4153f8d49d
@ -146,7 +146,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
// Using temporary channels because they don't hide their names when not active
|
||||
channelManager.JoinChannel(new Channel
|
||||
{
|
||||
Name = $"Channel no. {joinedChannels.Count() + 1}",
|
||||
Name = $"Channel no. {joinedChannels.Count() + 11}",
|
||||
Type = ChannelType.Temporary
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user