mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 00:08:51 -05:00
Fix TriInspector doesn't work with InlineEditor
This commit is contained in:
parent
57e726cc4f
commit
29dafd0193
@ -17,6 +17,12 @@ namespace TriInspector.Editors
|
||||
_core.Dispose();
|
||||
}
|
||||
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
_core.OnInspectorGUI();
|
||||
}
|
||||
|
||||
public override VisualElement CreateInspectorGUI()
|
||||
{
|
||||
return _core.CreateVisualElement();
|
||||
|
@ -30,6 +30,13 @@ namespace TriInspector.Editors
|
||||
base.OnDisable();
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
_core.OnInspectorGUI();
|
||||
|
||||
ApplyRevertGUI();
|
||||
}
|
||||
|
||||
public override VisualElement CreateInspectorGUI()
|
||||
{
|
||||
var root = new VisualElement();
|
||||
|
Loading…
Reference in New Issue
Block a user