代码调整
This commit is contained in:
parent
06edd5f531
commit
c8d0bf50f5
@ -355,6 +355,10 @@ export default class ELines extends Group {
|
|||||||
this.crossSection && this.crossSection.setStyle(styles);
|
this.crossSection && this.crossSection.setStyle(styles);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setOrignalCross() {
|
||||||
|
this.crossSection && this.crossSection.setStyle({lineWidth:0, fill:this.style.Section.cross.crossSection.fillColor});
|
||||||
|
}
|
||||||
|
|
||||||
setZleve(lev) {
|
setZleve(lev) {
|
||||||
this.section && this.section.attr('z', lev);
|
this.section && this.section.attr('z', lev);
|
||||||
}
|
}
|
||||||
|
@ -390,7 +390,7 @@ export default class Section extends Group {
|
|||||||
} else {
|
} else {
|
||||||
this.lineBorder && this.lineBorder.setStyle({ lineWidth: 0 });
|
this.lineBorder && this.lineBorder.setStyle({ lineWidth: 0 });
|
||||||
!this.selectedType && this.setState(this.model);
|
!this.selectedType && this.setState(this.model);
|
||||||
this.line.setCross({lineWidth:0, fill:this.style.Section.cross.crossSection.fillColor});
|
this.line.setOrignalCross();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
drawBatchSelected(selected, type) {
|
drawBatchSelected(selected, type) {
|
||||||
|
Loading…
Reference in New Issue
Block a user