mirror of https://github.com/tuyoogame/YooAsset
fix #472
parent
dfa95b57b9
commit
2902b6c2cf
|
@ -12,15 +12,9 @@ namespace YooAsset.Editor
|
|||
/// </summary>
|
||||
public class PanelSplitView : TwoPaneSplitView
|
||||
{
|
||||
#if UNITY_6000_0_OR_NEWER
|
||||
public new class UxmlFactory : UxmlElementAttribute
|
||||
{
|
||||
}
|
||||
#else
|
||||
public new class UxmlFactory : UxmlFactory<PanelSplitView, UxmlTraits>
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// 竖版分屏
|
||||
|
|
|
@ -9,15 +9,9 @@ namespace YooAsset.Editor
|
|||
{
|
||||
public class ResizeHandle : VisualElement
|
||||
{
|
||||
#if UNITY_6000_0_OR_NEWER
|
||||
public new class UxmlFactory : UxmlElementAttribute
|
||||
{
|
||||
}
|
||||
#else
|
||||
public new class UxmlFactory : UxmlFactory<ResizeHandle, UxmlTraits>
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
private bool _isResizing = false;
|
||||
private float _initialWidth;
|
||||
|
|
|
@ -15,15 +15,9 @@ namespace YooAsset.Editor
|
|||
/// </summary>
|
||||
public class TableView : VisualElement
|
||||
{
|
||||
#if UNITY_6000_0_OR_NEWER
|
||||
public new class UxmlFactory : UxmlElementAttribute
|
||||
{
|
||||
}
|
||||
#else
|
||||
public new class UxmlFactory : UxmlFactory<TableView, UxmlTraits>
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
private readonly Toolbar _toolbar;
|
||||
private readonly ListView _listView;
|
||||
|
|
Loading…
Reference in New Issue