Fix orientation issues across rows: MX/MY are exchanged between Coriolis and Coloquinte

This commit is contained in:
Gabriel Gouvine 2023-06-20 10:47:25 +02:00
parent 4fe1436e1f
commit 1df76cdf5a
1 changed files with 2 additions and 2 deletions

View File

@ -160,11 +160,11 @@ namespace {
tx += cellBox.getWidth(); tx += cellBox.getWidth();
orient = Transformation::Orientation::R2; orient = Transformation::Orientation::R2;
break; break;
case CellOrientation::MY: case CellOrientation::MX:
orient = Transformation::Orientation::MY; orient = Transformation::Orientation::MY;
ty += cellBox.getHeight(); ty += cellBox.getHeight();
break; break;
case CellOrientation::MX: case CellOrientation::MY:
orient = Transformation::Orientation::MX; orient = Transformation::Orientation::MX;
tx += cellBox.getWidth(); tx += cellBox.getWidth();
break; break;