dev #250
@ -127,8 +127,8 @@ export default function CircuitTrestleSetting({ id }) {
|
|||||||
// roof polygon들의 중간점 계산
|
// roof polygon들의 중간점 계산
|
||||||
const roofPolygons = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.ROOF)
|
const roofPolygons = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.ROOF)
|
||||||
let x, y
|
let x, y
|
||||||
x = canvas.width / 2
|
x = 0 //canvas.width / 2
|
||||||
y = canvas.height / 2
|
y = 1000 //canvas.height / 2
|
||||||
|
|
||||||
/*if (roofPolygons.length > 0) {
|
/*if (roofPolygons.length > 0) {
|
||||||
let minX = Infinity,
|
let minX = Infinity,
|
||||||
|
|||||||
@ -150,7 +150,7 @@ $alert-color: #101010;
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 5px;
|
width: 15px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -159,7 +159,7 @@ $alert-color: #101010;
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
width: 5px;
|
width: 15px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -235,7 +235,7 @@ $alert-color: #101010;
|
|||||||
.modal-foot{
|
.modal-foot{
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 5px 0;
|
padding: 15px 0;
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user