轨迹运动增加反向

This commit is contained in:
takeshita
2025-11-28 18:11:33 +08:00
parent d6b0ed8bc3
commit d0b58f378b
7 changed files with 83 additions and 17 deletions

View File

@ -1440,6 +1440,10 @@ class SectorObject extends Base {
center: this.deepCopyObj(this.options.center)
}
this.positionEditing = false
if(this._positionEditingCallback) {
this._positionEditingCallback()
this._positionEditingCallback = null
}
})
this.event.mouse_right((movement, cartesian) => {
this.positionEditing = false
@ -1520,7 +1524,8 @@ class SectorObject extends Base {
this._areaChangeCallBack = cd
}
static nodeEdit(that, cb = () => { }) {
nodeEdit(cb = () => { }) {
let that = this
that.positionEditing = false
if (YJ.Measure.GetMeasureStatus()) {
} else {
@ -1675,6 +1680,8 @@ class SectorObject extends Base {
that.tip = null
that.heightMode = that.heightMode
cb('', {...that.options.center})
})
}, 200);
async function createNodePoints(pos, type) {