mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-09 00:43:23 +01:00
Bug message: Uncaught y must be defined, line:8, :http://app.wisemapping.com/js/core.js
TypeError: Cannot call method 'eval' of null
This commit is contained in:
parent
4288ad52dc
commit
7e8745f875
@ -47,7 +47,7 @@ mindplot.util.Shape =
|
|||||||
var size = topic.getSize();
|
var size = topic.getSize();
|
||||||
var position = topic.getPosition();
|
var position = topic.getPosition();
|
||||||
var div = (position.x - controlPoint.x);
|
var div = (position.x - controlPoint.x);
|
||||||
div = (Math.mod(div) > 0.1 ? div : 0.1); // Prevent division by 0.
|
div = (Math.abs(div) > 0.1 ? div : 0.1); // Prevent division by 0.
|
||||||
|
|
||||||
var m = (position.y - controlPoint.y) / div;
|
var m = (position.y - controlPoint.y) / div;
|
||||||
var y, x;
|
var y, x;
|
||||||
|
Loading…
Reference in New Issue
Block a user