分隔符调整

This commit is contained in:
dong 2023-06-30 13:40:48 +08:00
parent 07b5f97972
commit d13da1478a

View File

@ -38,9 +38,13 @@ export class Separator extends JlGraphic {
get datas(): ISeparatorData {
return this.getDatas<ISeparatorData>();
}
clear() {
this.rectGraphic.clear();
this.circleGraphic.clear();
}
doRepaint(): void {
this.clear();
const rectGraphic = this.rectGraphic;
rectGraphic.clear();
if (!this.datas.separatorType) {
this.datas.separatorType = separatorTypeEnum.endA;
}