Squashed commit of the following:
All checks were successful
CI / Docker-Build (push) Successful in 2m56s
All checks were successful
CI / Docker-Build (push) Successful in 2m56s
commite964b8bf27
Author: joylink_zhaoerwei <Bob_Engineer@163.com> Date: Thu Mar 28 09:58:05 2024 +0800 道岔编辑修改 commitdcd7f3322c
Author: joylink_fanyuhong <18706759286@163.com> Date: Thu Mar 28 09:22:06 2024 +0800 防淹门调整 commit7d2a1be457
Author: joylink_fanyuhong <18706759286@163.com> Date: Thu Mar 28 09:18:23 2024 +0800 车库门调整暂提 commit3fb3eb8135
Merge:d9b5841
5210c9d
Author: joylink_fanyuhong <18706759286@163.com> Date: Wed Mar 27 17:20:34 2024 +0800 Merge branch 'develop' of http://120.46.212.6:3000/joylink/rts-sim-testing-client into develop commitd9b5841cfb
Author: joylink_fanyuhong <18706759286@163.com> Date: Wed Mar 27 17:20:17 2024 +0800 车库门状态显示调整 commit5210c9d9cd
Author: joylink_zhaoerwei <Bob_Engineer@163.com> Date: Wed Mar 27 17:04:26 2024 +0800 屏蔽门右键bug
This commit is contained in:
parent
e9479ac1ff
commit
1afcff6071
@ -199,7 +199,9 @@ class DragMoveAbsorbablePoint extends AbsorbablePoint {
|
||||
pointC: [C],
|
||||
} = dragTarget.datas;
|
||||
this.moveTarget = {
|
||||
position: dragTarget.getGlobalPosition(),
|
||||
position: dragTarget
|
||||
.getGraphicApp()
|
||||
.toCanvasCoordinates(dragTarget.getGlobalPosition()),
|
||||
portPos: [
|
||||
dragTarget.localToCanvasPoint(A),
|
||||
dragTarget.localToCanvasPoint(B),
|
||||
@ -234,7 +236,9 @@ class DragMoveAbsorbablePoint extends AbsorbablePoint {
|
||||
} else {
|
||||
if (this.moveTarget == undefined) {
|
||||
this.moveTarget = {
|
||||
position: dragTarget.getGlobalPosition(),
|
||||
position: dragTarget
|
||||
.getGraphicApp()
|
||||
.toCanvasCoordinates(dragTarget.getGlobalPosition()),
|
||||
portPos: [
|
||||
dragTarget.localToCanvasPoint(dragTarget.getStartPoint()),
|
||||
dragTarget.localToCanvasPoint(dragTarget.getEndPoint()),
|
||||
@ -443,6 +447,9 @@ export class TurnoutPointsInteractionPlugin extends GraphicInteractionPlugin<Tur
|
||||
tep = new TurnoutEditPlugin(turnout, { onEditPointCreate });
|
||||
turnout.addAssistantAppend(tep);
|
||||
}
|
||||
tep.editPoints = [[], [], []];
|
||||
tep.removeChildren();
|
||||
tep.initEditPoints();
|
||||
//tep.reset();
|
||||
tep.showAll();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user