Update with framework bindable changes

This commit is contained in:
smoogipoo
2019-02-21 18:56:34 +09:00
parent d637b184e4
commit bca347427f
195 changed files with 567 additions and 555 deletions

View File

@ -126,16 +126,16 @@ namespace osu.Game.Overlays
RelativeSizeAxes = Axes.Both
}
});
sectionsContainer.SelectedSection.ValueChanged += s =>
sectionsContainer.SelectedSection.ValueChanged += e =>
{
if (lastSection != s)
if (lastSection != e.NewValue)
{
lastSection = s;
lastSection = e.NewValue;
tabs.Current.Value = lastSection;
}
};
tabs.Current.ValueChanged += s =>
tabs.Current.ValueChanged += e =>
{
if (lastSection == null)
{
@ -144,9 +144,9 @@ namespace osu.Game.Overlays
tabs.Current.Value = lastSection;
return;
}
if (lastSection != s)
if (lastSection != e.NewValue)
{
lastSection = s;
lastSection = e.NewValue;
sectionsContainer.ScrollTo(lastSection);
}
};