mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-13 23:36:35 +08:00
Update img and README, cleanup
This commit is contained in:
@ -127,7 +127,6 @@ namespace UnityExplorer.UI.CacheObject
|
||||
|
||||
if (State == ValueState.NotEvaluated && !ShouldAutoEvaluate)
|
||||
{
|
||||
// todo evaluate buttons etc
|
||||
SetValueState(cell, ValueStateArgs.Default);
|
||||
cell.RefreshSubcontentButton();
|
||||
|
||||
|
@ -36,7 +36,6 @@ namespace UnityExplorer.UI.Panels
|
||||
|
||||
private void InvokeOnValueChanged(string value)
|
||||
{
|
||||
// Todo show a label instead of just logging
|
||||
if (value.Length == UIManager.MAX_INPUTFIELD_CHARS)
|
||||
ExplorerCore.LogWarning($"Reached maximum InputField character length! ({UIManager.MAX_INPUTFIELD_CHARS})");
|
||||
|
||||
|
@ -116,17 +116,6 @@ namespace UnityExplorer.UI.Utility
|
||||
// Preferred text rect height
|
||||
var textGen = InputField.Component.textComponent.cachedTextGeneratorForLayout;
|
||||
m_desiredContentHeight = textGen.GetPreferredHeight(m_lastText, texGenSettings) + 10;
|
||||
|
||||
// TODO more intelligent jump.
|
||||
// We can detect if the caret is outside the viewport area.
|
||||
|
||||
// jump to bottom
|
||||
if (InputField.Component.caretPosition == InputField.Text.Length
|
||||
&& InputField.Text.Length > 0
|
||||
&& InputField.Text[InputField.Text.Length - 1] == '\n')
|
||||
{
|
||||
m_wantJumpToBottom = true;
|
||||
}
|
||||
}
|
||||
|
||||
public override void ConstructUI(GameObject parent)
|
||||
|
Reference in New Issue
Block a user