-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
是这样的,我现在知道有一个叫做 Config.MouseFollow 的参数可以开关鼠标跟随,但是我对这个参数的效果并不满意(并不是我想要的那种“跟随”效果,需要鼠标在canvas里按住左键拖动才有反应,且一旦鼠标脱离了画布且松开左键,松开的事件就无法传递到模型上,导致一直处于拖动状态)。
我想要让模型根据鼠标移动进某一块区域的相对位置调整拖动效果,似乎就必须要我自己编写自定义的控制代码这样子。
| model.setDragging(x, y) |
目前我通过搜索找到了这里,但是我似乎并没有任何的入口可以从外部调用它,而文档中有关 Managers 的部分也是缺失的。
是目前并没有开放相关的功能吗,亦或者是我没有找到这样子?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers