mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Pass down editor clocks through DI
This commit is contained in:
@ -18,11 +18,12 @@ namespace osu.Game.Screens.Edit.Components
|
||||
{
|
||||
public class PlaybackControl : BottomBarContainer
|
||||
{
|
||||
private readonly IconButton playButton;
|
||||
private IconButton playButton;
|
||||
|
||||
private readonly IAdjustableClock adjustableClock;
|
||||
private IAdjustableClock adjustableClock;
|
||||
|
||||
public PlaybackControl(IAdjustableClock adjustableClock)
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(IAdjustableClock adjustableClock)
|
||||
{
|
||||
this.adjustableClock = adjustableClock;
|
||||
|
||||
|
Reference in New Issue
Block a user