mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-17 06:28:42 +08:00
Cleanup
This commit is contained in:
parent
f92c215a88
commit
e0f7fad00e
@ -220,10 +220,7 @@ namespace UnityExplorer.CacheObject
|
|||||||
// string wants it trimmed to max 200 chars
|
// string wants it trimmed to max 200 chars
|
||||||
case ValueState.String:
|
case ValueState.String:
|
||||||
if (!LastValueWasNull)
|
if (!LastValueWasNull)
|
||||||
{
|
return $"\"{ToStringUtility.PruneString(Value as string, 200, 5)}\"";
|
||||||
string s = Value as string;
|
|
||||||
return $"\"{ToStringUtility.PruneString(s, 200, 5)}\"";
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// try to prefix the count of the collection for lists and dicts
|
// try to prefix the count of the collection for lists and dicts
|
||||||
|
@ -34,7 +34,8 @@ namespace UnityExplorer.Inspectors
|
|||||||
var root = base.CreateContent(parent);
|
var root = base.CreateContent(parent);
|
||||||
|
|
||||||
// Add mask to button so text doesnt overlap on Close button
|
// Add mask to button so text doesnt overlap on Close button
|
||||||
this.Button.Component.gameObject.AddComponent<Mask>().showMaskGraphic = true;
|
//this.Button.Component.gameObject.AddComponent<Mask>().showMaskGraphic = true;
|
||||||
|
this.Button.ButtonText.horizontalOverflow = HorizontalWrapMode.Wrap;
|
||||||
|
|
||||||
// Behaviour toggle
|
// Behaviour toggle
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user