Use a bindable for the current screen in EditorMenuBar

Replaces the current Action.
This commit is contained in:
smoogipoo
2017-10-04 19:37:17 +09:00
parent 34eede0d04
commit 8a52fdc8fa
2 changed files with 4 additions and 6 deletions

View File

@ -96,7 +96,7 @@ namespace osu.Game.Screens.Edit
};
timeline.Beatmap.BindTo(Beatmap);
menuBar.ModeChanged += onModeChanged;
menuBar.Mode.ValueChanged += onModeChanged;
}
[BackgroundDependencyLoader]