mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-02 03:22:41 +08:00
Color adjustments
This commit is contained in:
@ -170,7 +170,7 @@ namespace UnityExplorer.UI.Widgets.AutoComplete
|
||||
|
||||
// Setting autocomplete cell buttons
|
||||
|
||||
private readonly Color selectedSuggestionColor = new Color(46/255f, 54/255f, 53/255f);
|
||||
private readonly Color selectedSuggestionColor = new Color(45/255f, 75/255f, 80/255f);
|
||||
private readonly Color inactiveSuggestionColor = new Color(0.11f, 0.11f, 0.11f);
|
||||
|
||||
private List<Suggestion> GetEntries() => Suggestions;
|
||||
|
@ -59,7 +59,7 @@ namespace UnityExplorer.UI.Widgets
|
||||
buttonText.alignment = TextAnchor.MiddleLeft;
|
||||
|
||||
Color normal = new Color(0.11f, 0.11f, 0.11f);
|
||||
Color highlight = new Color(0.25f, 0.25f, 0.25f);
|
||||
Color highlight = new Color(0.16f, 0.16f, 0.16f);
|
||||
Color pressed = new Color(0.05f, 0.05f, 0.05f);
|
||||
Color disabled = new Color(1, 1, 1, 0);
|
||||
RuntimeProvider.Instance.SetColorBlock(Button.Component, normal, highlight, pressed, disabled);
|
||||
|
Reference in New Issue
Block a user