bugfix. local transformation was lost on path elements.
This commit is contained in:
parent
73226a5ec2
commit
24160f0471
1 changed files with 0 additions and 4 deletions
|
|
@ -355,10 +355,6 @@ Snap.plugin(function (Snap, Element, Paper, global) {
|
|||
*/
|
||||
Element.prototype.convertToPath = function(){
|
||||
var old_element = this;
|
||||
if(old_element.type === 'path'){
|
||||
return old_element;
|
||||
}
|
||||
|
||||
var path = old_element.toPath();
|
||||
old_element.before(path);
|
||||
old_element.remove();
|
||||
|
|
|
|||
Loading…
Reference in a new issue