JOPXQG2BPYMLVUYHUHDIHRTJBBV5EJSWJGUIJMVBXVW3VAIM4WFQC AT2ZVX7CCT3LEZQQHZEXFGJVZL7RMVGJD26LETXGGJB33VUPNBSQC SGMPSXY74KFNCDFEHW76MML6LULMONLRJLXH4P5TESBOGS3VJVOQC UA5JKLRCSTK6EEMPACUFKTIT2NUDEYBFDBELOI7ZTXKK345WFOPQC 3UFL673QX2JG7KHTAM7DFH4BBYVHDNMXBS2RW45G3JBNFZFLSRRQC L4VMIGM6D5WUEBYOCXBIF6V66NRJAKOJO4FHALHIUIAGAUQUKDPAC FYPDXXXIPT67FWCHK4EPOTVHREE57MSHPKK332BHXO2ZYGDUCIKAC 3ZRM324R2G5FCZJUPXQLD3JRQ6E5XGF6G6BDY3UZ2TRFMM4NYTKQC const next = { ...prev, visible: true, text: this.state.descriptionText };next.position = new Vector2(this.container.worldTransform.tx, this.container.worldTransform.ty);// TODO(bowei): what about position??
const next = { ...prev, visible: true, text: this.state.descriptionText, position };
this.container.addListener('pointermove', (event: Pixi.InteractionEvent) => {// this._staleProps.args.markForceUpdate(this);// source: https://www.iwm-tuebingen.de/iwmbrowser/lib/pixi/tooltip.jsconst localPosition = event.data.getLocalPosition(this.container);const position = new Vector2(this.container.worldTransform.tx, this.container.worldTransform.ty);this._staleProps.tooltipUpdaters.position.enqueueUpdate((prev) => {return position.add(localPosition);});})