mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 01:47:30 +09:00
Merge branch 'skin-editor-target-other-containers' into skin-component-settings
This commit is contained in:
commit
0a1e55e4eb
@ -171,7 +171,12 @@ namespace osu.Game.Skinning.Editor
|
|||||||
|
|
||||||
private void placeComponent(Type type)
|
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)
|
if (targetContainer == null)
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user