fix backwards compatible rule fields
This commit is contained in:
parent
07cbd88618
commit
5af7cc0cb1
2 changed files with 6 additions and 3 deletions
|
@ -27,7 +27,9 @@ pub struct Rule {
|
|||
variants: Vec<SubRule>,
|
||||
pub enabled: bool,
|
||||
// probability: u8
|
||||
#[serde(alias = "flip_h")]
|
||||
pub flip_x: bool,
|
||||
#[serde(alias = "flip_v")]
|
||||
pub flip_y: bool,
|
||||
pub rotate: bool,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue