mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 10:57:39 +02:00
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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user