Fix: sync mode is not required

This commit is contained in:
2026-03-17 02:45:41 +01:00
parent 12172ce1e8
commit bfd52c0053
21 changed files with 190 additions and 290 deletions

View File

@@ -31,7 +31,6 @@ pub enum PatternPropsField {
Length,
Speed,
Quantization,
SyncMode,
FollowUp,
ChainBank,
ChainPattern,
@@ -44,8 +43,7 @@ impl PatternPropsField {
Self::Description => Self::Length,
Self::Length => Self::Speed,
Self::Speed => Self::Quantization,
Self::Quantization => Self::SyncMode,
Self::SyncMode => Self::FollowUp,
Self::Quantization => Self::FollowUp,
Self::FollowUp if follow_up_is_chain => Self::ChainBank,
Self::FollowUp => Self::FollowUp,
Self::ChainBank => Self::ChainPattern,
@@ -60,8 +58,7 @@ impl PatternPropsField {
Self::Length => Self::Description,
Self::Speed => Self::Length,
Self::Quantization => Self::Speed,
Self::SyncMode => Self::Quantization,
Self::FollowUp => Self::SyncMode,
Self::FollowUp => Self::Quantization,
Self::ChainBank => Self::FollowUp,
Self::ChainPattern if follow_up_is_chain => Self::ChainBank,
Self::ChainPattern => Self::FollowUp,