pictode
pictode copied to clipboard
[BUG] The tool of Arrow would not work after transformer fires event of dragend
Bug Report / 缺陷报告
问题描述 / Describe the bug
The tool of Arrow would not work after transformer fires event of dragend
复现步骤 / To Reproduce
- create any tool element, like
rectangle,ellipseor something other - use
selectorplugin to select some tools - drag the
transformer - create
arrowtool element and failed
期望行为 / Expected behavior
This unexpected problem raise because of, the Konva transformer would spread mousedown event
to its nodes, which would collected by Konva Stage, and then the mouse service would emit the event of mousedown multiple times.
And I would like to fix the bug right now.
截图 / Screenshots
桌面设备信息 / Desktop (please complete the following information):
移动设备信息 / Smartphone (please complete the following information):
附加上下文 / Additional context