mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-09-12 07:10:07 +02:00
remove positionRelativeTo method
This commit is contained in:
parent
3716b1a3b9
commit
e6badad763
@ -67,12 +67,6 @@ web2d.Element = new Class({
|
||||
this._peer.setPosition(cx, cy);
|
||||
},
|
||||
|
||||
|
||||
positionRelativeTo : function(elem, options) {
|
||||
this._peer.positionRelativeTo(elem, options);
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* Allows the registration of event listeners on the event target.
|
||||
* type
|
||||
|
@ -214,13 +214,6 @@ web2d.peer.svg.ElementPeer = new Class({
|
||||
return listeners;
|
||||
},
|
||||
|
||||
// positionRelativeTo:function (elem, options) {
|
||||
// options = !$defined(options) ? {} : options;
|
||||
// options['relativeTo'] = document.id(this._native);
|
||||
// elem.position(options);
|
||||
// },
|
||||
//
|
||||
|
||||
/**
|
||||
* Move element to the front
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user