fastTracker

Signed-off-by: TRAfoer <lhf190@outlook.com>
This commit is contained in:
2026-01-07 23:48:28 +08:00
parent 797a5f7141
commit a31269c632
256 changed files with 33278 additions and 1889654 deletions

View File

@@ -736,6 +736,22 @@ namespace Ichni.Editor
}
}
}
public static void NoteScale(float scale)
{
var noteBases = inspector.connectedGameElement.GetAllGameElementsFromThis().OfType<NoteBase>().ToList();
foreach (var note in noteBases)
{
if (note.noteVisual != null)
{
if (note.noteVisual.submoduleList.FirstOrDefault(i => i is TransformSubmodule) is TransformSubmodule ts)
{
ts.originalScale = ts.originalScale * scale;
ts.Refresh();
}
note.noteVisual.Refresh();
}
}
}
#endregion
#region Animation ()
@@ -910,7 +926,7 @@ namespace Ichni.Editor
{
foreach (GameElement e in element.GetAllGameElementsFromThis())
{
e.Refresh();
if (e != null) e.Refresh();
}
foreach (Track track in element.GetAllGameElementsFromThis().OfType<Track>())
{