Squashed commit of the following:
All checks were successful
CI / Docker-Build (push) Successful in 2m38s
All checks were successful
CI / Docker-Build (push) Successful in 2m38s
commit 8f9c0c852a
Author: joylink_zhaoerwei <Bob_Engineer@163.com>
Date: Thu Aug 22 14:31:15 2024 +0800
驾驶台旋钮操作bug修复
This commit is contained in:
parent
f0706af329
commit
a061a6d1e9
@ -148,9 +148,10 @@ export abstract class KeyInteraction<
|
||||
}
|
||||
onMouseDown(e: FederatedMouseEvent) {
|
||||
const target = e.target as DisplayObject;
|
||||
const g = target.getGraphic<G>();
|
||||
const g = target.getGraphic<TccKey>();
|
||||
if (!g) return;
|
||||
this.isMouseDown = true;
|
||||
this.ratatingSprite = g._tccKey;
|
||||
this.mouseDownBeginPos = this.app.toCanvasCoordinates(e.global);
|
||||
this.mouseDownBeginRotation = this.ratatingSprite.rotation;
|
||||
this.changeRotation = this.mouseDownBeginRotation;
|
||||
|
Loading…
Reference in New Issue
Block a user