Fix dynamic judge anchors not updated if note is not working.

This commit is contained in:
2023-01-17 22:16:40 +08:00
parent 4185303bd2
commit 39bc34fd42

View File

@@ -137,12 +137,10 @@ namespace Cryville.Crtr {
public override void Anchor() {
base.Anchor();
if (cs.Working) {
foreach (var j in judges.Values) {
if (!j.Judged) continue;
PushAnchorEvent(j.AbsoluteTime, j.DynamicAnchors.Absolute);
PushAnchorEvent(j.RelativeTime + cs.Time, j.DynamicAnchors.Relative);
}
foreach (var j in judges.Values) {
if (!j.Judged) continue;
PushAnchorEvent(j.AbsoluteTime, j.DynamicAnchors.Absolute);
PushAnchorEvent(j.RelativeTime + cs.Time, j.DynamicAnchors.Relative);
}
}