Skip to content

Commit

Permalink
Fix the test case failed because add the new property in the base class.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed May 10, 2023
1 parent 4ab927d commit 03f46e2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ private static bool isWriteLyricPropertyLockedByState(LockState lockState, strin
nameof(Lyric.ReferenceLyricConfig) => lockState > LockState.Partial,
// base class
nameof(Lyric.Samples) => false,
nameof(Lyric.LegacyBpmMultiplier) => false,
_ => throw new NotSupportedException()
};
}
Expand Down Expand Up @@ -116,6 +117,7 @@ private static bool isWriteLyricPropertyLockedByConfig(IReferenceLyricPropertyCo
nameof(Lyric.ReferenceLyricConfig) => false,
// base class
nameof(Lyric.Samples) => false,
nameof(Lyric.LegacyBpmMultiplier) => false,
_ => throw new NotSupportedException()
},
null => false,
Expand Down

0 comments on commit 03f46e2

Please sign in to comment.