Open allenxie888 opened 6 months ago
If you want to handle removing it, you can do so in the changeTargets
handler
let controlBox = undefined
function changeTargets(e) {
if (controlBox !== e.currentTarget.getControlBoxElement()) {
controlBox?.remove()
controlBox = e.currentTarget.getControlBoxElement()
}
}
Environments
Description
When multiple boxes are selected, you will find that "moveable-control-box" will create multiple boxes. (As shown below)
This problem will occur in my test version 0.47.0 or above。