0

I have an image icon I am using as the background of the graph. (I am not using the graph background function because I need the background resize as I zoom and the background need to move back and front of the graph.) The image icon is set as not selectable and not movable

I want to use the mxRubberband for multiple select of the other icon. However, the mxRubberband is not working as I start selecting from above the background icon. (It works if I remove that.) How should I fix it?

4

1 回答 1

0

我刚刚找到了解决方案。选择时只需按“Alt”按钮。或者初始化图 mxGraph.prototype.isForceMarqueeEvent 以返回 true。

于 2014-03-03T02:26:04.433 回答