mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Additional fixes for flow ordering after framework changes
This commit is contained in:
@ -53,9 +53,9 @@ namespace osu.Game.Overlays.Chat
|
||||
|
||||
protected override void AddTabItem(TabItem<Channel> item, bool addToDropdown = true)
|
||||
{
|
||||
if (selectorTab.Depth < float.MaxValue)
|
||||
if (item != selectorTab && TabContainer.GetLayoutPosition(selectorTab) < float.MaxValue)
|
||||
// performTabSort might've made selectorTab's position wonky, fix it
|
||||
TabContainer.ChangeChildDepth(selectorTab, float.MaxValue);
|
||||
TabContainer.SetLayoutPosition(selectorTab, float.MaxValue);
|
||||
|
||||
base.AddTabItem(item, addToDropdown);
|
||||
|
||||
|
Reference in New Issue
Block a user