Editor Ui Redraw (#197)

* Editor Ui Redraw

-redrew every ui icon
-colors changed

-some ui elements (like pause, stop, play, undo, redo, and the line showing the beat youre on in the timeline) are the wrong color in-editor compared to unity

* fix colours

- update credits

Co-authored-by: minenice55 <star.elementa@gmail.com>
This commit is contained in:
ev
2023-01-13 17:18:11 -05:00
committed by GitHub
parent 3e9ac0292d
commit f1de3cd30c
33 changed files with 1313 additions and 434 deletions

View File

@ -197,12 +197,12 @@ namespace HeavenStudio.Editor
#endregion
if (CommandManager.instance.canUndo())
UndoBTN.transform.GetChild(0).GetComponent<Image>().color = "BD8CFF".Hex2RGB();
UndoBTN.transform.GetChild(0).GetComponent<Image>().color = Color.white;
else
UndoBTN.transform.GetChild(0).GetComponent<Image>().color = Color.gray;
if (CommandManager.instance.canRedo())
RedoBTN.transform.GetChild(0).GetComponent<Image>().color = "FFD800".Hex2RGB();
RedoBTN.transform.GetChild(0).GetComponent<Image>().color = Color.white;
else
RedoBTN.transform.GetChild(0).GetComponent<Image>().color = Color.gray;

View File

@ -528,7 +528,7 @@ namespace HeavenStudio.Editor.Track
{
if (playEnabled)
{
PlayBTN.transform.GetChild(0).GetComponent<Image>().color = Color.green;
PlayBTN.transform.GetChild(0).GetComponent<Image>().color = Color.white;
PlayBTN.enabled = true;
}
else
@ -540,7 +540,7 @@ namespace HeavenStudio.Editor.Track
if (pauseEnabled)
{
PauseBTN.enabled = true;
PauseBTN.transform.GetChild(0).GetComponent<Image>().color = Color.blue;
PauseBTN.transform.GetChild(0).GetComponent<Image>().color = Color.white;
}
else
{ PauseBTN.transform.GetChild(0).GetComponent<Image>().color = Color.gray;
@ -550,7 +550,7 @@ namespace HeavenStudio.Editor.Track
if (stopEnabled)
{
StopBTN.enabled = true;
StopBTN.transform.GetChild(0).GetComponent<Image>().color = Color.red;
StopBTN.transform.GetChild(0).GetComponent<Image>().color = Color.white;
}
else
{