设置MapSource连接器时发现问题。jsPlumb makeSource可拖动移动错误
在jsFiddle代码中,点击“Reverse”再次打印。当您尝试移动div时,请注意DIV的背景是带有开放式连接器的。
谈到下面的代码:
instancia.makeSource(elem.pageSourceId, {
paintStyle:{ fillStyle:"transparent" },
//hoverPaintStyle: endpointHoverStyle,
//connectorPaintStyle: connectorPaintStyle,
//connectorHoverPaintStyle: connectorHoverStyle
});
这个错误不会再发生了,但我需要这个代码保持了原有的风格。任何人都知道它可能是什么?
https://jsfiddle.net/braziel/dvhh7hvg/
我明白发生了什么,但是,解决这个问题使我回到了原来的问题。 当我删除其他方法,只留下连接,锚点和端点的风格是错误的,对我如何设置样式有任何建议? –