| | |
| | | const scaleFactory = 750/3300; |
| | | adjustedRects.value = rawRects.map(rect => ({ |
| | | ...rect, |
| | | xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * scaleFactor, |
| | | yaxisa: rect.yaxis * scaleFactory, |
| | | width: rect.edgWidth * scaleFactor , |
| | | xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * scaleFactor * 1.1, |
| | | yaxisa: rect.yaxis * scaleFactory * 1.1, |
| | | width: rect.edgWidth * scaleFactor * 1.1, |
| | | widtha: rect.edgWidth , |
| | | heighta: rect.edgHeight , |
| | | height: rect.edgHeight * scaleFactory, |
| | | height: rect.edgHeight * scaleFactory * 1.1, |
| | | state: rect.state |
| | | })); |
| | | currentPage.value = 1; |
| | |
| | | const scaleFactory = 750/3300; |
| | | adjustedRects.value = rawRects.map(rect => ({ |
| | | ...rect, |
| | | xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * scaleFactor, |
| | | yaxisa: rect.yaxis * scaleFactory, |
| | | width: rect.edgWidth * scaleFactor , |
| | | xaxisa: (6000 -(rect.xaxis + rect.edgWidth)) * scaleFactor * 1.1, |
| | | yaxisa: rect.yaxis * scaleFactory * 1.1, |
| | | width: rect.edgWidth * scaleFactor * 1.1, |
| | | widtha: rect.edgWidth , |
| | | heighta: rect.edgHeight , |
| | | height: rect.edgHeight * scaleFactory, |
| | | height: rect.edgHeight * scaleFactory * 1.1, |
| | | state: rect.state |
| | | })); |
| | | } |