Replies: 1 comment 2 replies
-
hi @list12318 please try to post in english. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1、我使用new fabric.Control() 创建了我的自定义删除按钮
2、每一次初始化渲染很多多边形 polygon 后 使用setActiveObject 选中某个polygon后,自定义删除控件并不显示,当我拖动或者切换选中另一个polygon后才显示
3、请问我该如何修改代码让他第一次选中就可以显示删除控件呢?
4、我使用的是onMouseDown 判断 polygon 是否选中
以下是我的代码截图:
Automated translation
Beta Was this translation helpful? Give feedback.
All reactions