Skip to content

Commit

Permalink
allow length adjustment across multiple slots if speed is the same
Browse files Browse the repository at this point in the history
  • Loading branch information
jmamma committed Jan 19, 2023
1 parent 944faaa commit 44c1b28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions avr/cores/megacommand/MCL/GridPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,10 @@ void GridPage::apply_slot_changes(bool ignore_undo, bool ignore_func) {
temp_slot.link.row = slot.link.row;
temp_slot.store_in_grid(xpos, ypos);
}
else if (temp_slot.link.speed == slot.link.speed) {
temp_slot.link.length = slot.link.length;
temp_slot.store_in_grid(xpos, ypos);
}
}
} else if (slot_load == 1) {
// if (height > 1 && y == 0) {
Expand Down

0 comments on commit 44c1b28

Please sign in to comment.