Skip to content

Commit

Permalink
Fix logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
felixb1515 committed Jul 15, 2024
1 parent d2ba7e2 commit 6f4367a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/usd/cstchef/view/RecipePanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ Lane information (always at index 0, if set) and the Operations
}
}
// depending on if lane name is set we may start the loop at index 1, but want to add the first component at index 0
panel.addComponent(op, index == 1 ? i-1 : 0);
panel.addComponent(op, index == 1 ? i-1 : i);
}
}
}
Expand Down

0 comments on commit 6f4367a

Please sign in to comment.