fixed viewport not updating canvas in onBeatChanged

This commit is contained in:
Rapandrasmus 2023-11-21 16:53:43 +01:00
parent 2f1133007a
commit 0178016176

View file

@ -86,6 +86,10 @@ namespace HeavenStudio
UpdatePan();
UpdateRotation();
UpdateScale();
canvas.localPosition = pan;
canvas.eulerAngles = new Vector3(0, 0, rotation);
canvas.localScale = scale;
}
// Update is called once per frame