mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Extract class for clipboard contents for DI purposes
This commit is contained in:
@ -3,7 +3,6 @@
|
||||
|
||||
using NUnit.Framework;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Game.Rulesets.Edit;
|
||||
using osu.Game.Rulesets.Osu;
|
||||
@ -27,8 +26,8 @@ namespace osu.Game.Tests.Visual.Editing
|
||||
}
|
||||
});
|
||||
|
||||
[Cached(Name = nameof(Editor.Clipboard))]
|
||||
private Bindable<string> clipboard = new Bindable<string>();
|
||||
[Cached]
|
||||
private EditorClipboard clipboard = new EditorClipboard();
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
|
Reference in New Issue
Block a user