Skip to content

Commit

Permalink
fix wrong phone position
Browse files Browse the repository at this point in the history
  • Loading branch information
phenylshima committed Jan 21, 2024
1 parent 0e85f53 commit a94ca12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/jlabel-question/src/position.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ impl Position for PhonePosition {

fn get<'a>(&self, label: &'a Label) -> Option<&'a Self::Target> {
match self {
Self::P1 => label.phoneme.p1.as_ref(),
Self::P2 => label.phoneme.p2.as_ref(),
Self::P1 => label.phoneme.p2.as_ref(),
Self::P2 => label.phoneme.p1.as_ref(),
Self::P3 => label.phoneme.c.as_ref(),
Self::P4 => label.phoneme.n1.as_ref(),
Self::P5 => label.phoneme.n2.as_ref(),
Expand Down

0 comments on commit a94ca12

Please sign in to comment.