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