mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 11:27: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:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user