This commit is contained in:
parent
cd35241711
commit
edb9008ae9
|
@ -56,7 +56,7 @@ namespace BITKit
|
|||
}
|
||||
break;
|
||||
default:
|
||||
Debug.Log($"{typeof(T).Name}:{state.ToString()}");
|
||||
Debug.Log($"<color=cyan>{typeof(T).Name}</color>:{state.ToString()}");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -60,8 +60,14 @@ namespace BITKit.UX
|
|||
RootVisualElement.style.top = 0;
|
||||
RootVisualElement.style.bottom = 0;
|
||||
|
||||
foreach (var uss in InitialUssClasses)
|
||||
{
|
||||
RootVisualElement.AddToClassList(uss);
|
||||
}
|
||||
|
||||
var invisible = RootVisualElement.Create<VisualElement>();
|
||||
invisible.name = "invisible_return_generate";
|
||||
invisible.AddToClassList("background_generate");
|
||||
invisible.style.position = Position.Absolute;
|
||||
invisible.pickingMode = PickingMode.Ignore;
|
||||
invisible.style.left = 0;
|
||||
|
@ -121,6 +127,7 @@ namespace BITKit.UX
|
|||
public virtual bool AllowReload { get; }
|
||||
public virtual bool AllowCursor { get; }
|
||||
public virtual bool AllowInput { get; }
|
||||
public virtual string[] InitialUssClasses { get; } = Array.Empty<string>();
|
||||
|
||||
public bool IsEntered { get; set; }
|
||||
protected virtual void OnReturn()
|
||||
|
|
Loading…
Reference in New Issue