Compare commits

..

No commits in common. "ee3f0b9fd47c656d23a6159b91ebaa323679d5e2" and "568f80efa1a54a7146c575aa01ccdfa8a59e71ff" have entirely different histories.

2 changed files with 1 additions and 4 deletions

View File

@ -122,7 +122,7 @@ export default function CircuitTrestleSetting({ id }) {
canvas.set({ zoom: 1 }) canvas.set({ zoom: 1 })
// roof // roof
const roofs = canvas.getObjects().filter((obj) => obj.name === 'roof' && !obj.wall) const roofs = canvas.getObjects().filter((obj) => obj.name === 'roof')
if (roofs.length > 0) { if (roofs.length > 0) {
// roof x, y // roof x, y

View File

@ -27,9 +27,6 @@ export function useRoofFn() {
if (!polygon) { if (!polygon) {
return return
} }
if (polygon.wall) {
return
}
if (polygon.points.length < 3) { if (polygon.points.length < 3) {
return return
} }