mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Fix drag.
This commit is contained in:
parent
e9ed01c87d
commit
f76e068f7d
@ -135,7 +135,7 @@ mindplot.DragTopic = new Class({
|
||||
if (isDragConnected) {
|
||||
|
||||
var targetTopic = this.getConnectedToTopic();
|
||||
if (targetTopic.getType() == mindplot.NodeModel.CENTRAL_TOPIC_TYPE) {
|
||||
if (targetTopic.getType() == mindplot.model.NodeModel.CENTRAL_TOPIC_TYPE) {
|
||||
// Update topic position ...
|
||||
var dragPivotPosition = dragPivot.getPosition();
|
||||
|
||||
|
@ -27,3 +27,4 @@ mindplot.util = {};
|
||||
mindplot.commands = {};
|
||||
mindplot.layout = {};
|
||||
mindplot.widget = {};
|
||||
mindplot.model = {};
|
||||
|
@ -15,7 +15,6 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
mindplot.model = {};
|
||||
mindplot.model.Mindmap = new Class({
|
||||
initialize : function() {
|
||||
this._branches = [];
|
||||
|
Loading…
Reference in New Issue
Block a user