mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Update with framework bindable changes
This commit is contained in:
@ -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);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user