Merge pull request #60 from minenice55/no-more-tempo-change

Editor: disabled tempo change placing
This commit is contained in:
Jenny Crowe 2022-03-24 11:41:36 -07:00 committed by GitHub
commit 31c91fa3bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,6 +130,10 @@ namespace HeavenStudio.Editor.Track
private void AddTempoChange(bool create, Beatmap.TempoChange tempoChange_ = null) private void AddTempoChange(bool create, Beatmap.TempoChange tempoChange_ = null)
{ {
// TEMP: DISABLED UNTIL CRITICAL FIXES
if (create)
return;
GameObject tempoChange = Instantiate(RefTempoChange.gameObject, this.transform); GameObject tempoChange = Instantiate(RefTempoChange.gameObject, this.transform);
tempoChange.transform.GetChild(0).GetComponent<Image>().color = EditorTheme.theme.properties.TempoLayerCol.Hex2RGB(); tempoChange.transform.GetChild(0).GetComponent<Image>().color = EditorTheme.theme.properties.TempoLayerCol.Hex2RGB();