mirror of
https://github.com/ppy/osu
synced 2024-12-15 11:25:29 +00:00
Allow skin editor to target different target containers for placement purposes
This commit is contained in:
parent
1813d73d4f
commit
3db42dd772
@ -171,7 +171,12 @@ namespace osu.Game.Skinning.Editor
|
||||
|
||||
private void placeComponent(Type type)
|
||||
{
|
||||
var targetContainer = getTarget(SkinnableTarget.MainHUDComponents);
|
||||
var target = availableTargets.FirstOrDefault()?.Target;
|
||||
|
||||
if (target == null)
|
||||
return;
|
||||
|
||||
var targetContainer = getTarget(target.Value);
|
||||
|
||||
if (targetContainer == null)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user