Skip to content

Commit 67de6eb

Browse files
committed
https://github.com/annulusgames/LitMotion/pull/243
[LitMotionAnimation] Fixed dropdown list style breaking issue annulusgames#243
1 parent 58c9d46 commit 67de6eb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/LitMotion/Assets/LitMotion.Animation/Editor/LitMotionAnimationEditor.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,11 @@ VisualElement CreateComponentsPanel()
129129
alignSelf = Align.Center
130130
}
131131
};
132-
addButton.clicked += () => dropdown.Show(addButton.worldBound);
132+
addButton.clicked += () =>
133+
{
134+
GUI.skin = EditorGUIUtility.GetBuiltinSkin(EditorSkin.Scene);
135+
dropdown.Show(addButton.worldBound);
136+
};
133137
box.Add(addButton);
134138

135139
box.schedule.Execute(() =>

0 commit comments

Comments
 (0)