|
@@ -174,11 +174,11 @@ export default class Table extends Geometry {
|
|
let width = 0;
|
|
let width = 0;
|
|
const cell = floorplanService.getCell(vectorId)
|
|
const cell = floorplanService.getCell(vectorId)
|
|
for(let i=0;i<cell.rowIndex;++i){
|
|
for(let i=0;i<cell.rowIndex;++i){
|
|
- const _cell = floorplanService.getCell(this.cells[cell.rowIndex][0])
|
|
|
|
|
|
+ const _cell = floorplanService.getCell(this.cells[i][0])
|
|
height += _cell.height;
|
|
height += _cell.height;
|
|
}
|
|
}
|
|
for(let i=0;i<cell.colIndex;++i){
|
|
for(let i=0;i<cell.colIndex;++i){
|
|
- const _cell = floorplanService.getCell(this.cells[0][cell.colIndex])
|
|
|
|
|
|
+ const _cell = floorplanService.getCell(this.cells[0][i])
|
|
width += _cell.width;
|
|
width += _cell.width;
|
|
}
|
|
}
|
|
|
|
|