Merge branch 'dev' of ssh://git.jetbrains.space/nalpari/q-cast-iii/qcast-front into qcast-pub
This commit is contained in:
commit
1c5b089174
@ -429,7 +429,7 @@ export const usePolygon = () => {
|
||||
|
||||
const sameDirectionCnt = canvas.getObjects().filter((obj) => {
|
||||
const onlyStrDirection = obj.directionText?.replace(/[0-9]/g, '')
|
||||
return obj.name === POLYGON_TYPE.ROOF && onlyStrDirection === text
|
||||
return obj.name === POLYGON_TYPE.ROOF && obj.visible && obj !== polygon && onlyStrDirection === text
|
||||
})
|
||||
|
||||
text = text + (sameDirectionCnt.length + 1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user