Use FX class for delete node events.

This commit is contained in:
Paulo Gustavo Veiga
2012-03-07 20:35:06 -03:00
parent eb15952785
commit ae9f05dd05
10 changed files with 143 additions and 142 deletions

View File

@@ -123,5 +123,10 @@ web2d.Group = new Class({
}
this._peer._native.appendChild(DomElement);
},
setOpacity:function(value){
this._peer.setOpacity(value);
}
});

View File

@@ -73,6 +73,10 @@ web2d.peer.svg.GroupPeer = new Class({
this._native.setAttribute("transform", "translate(" + cx + "," + cy + ") scale(" + sx + "," + sy + ")");
},
setOpacity : function(value) {
this._native.setAttribute("opacity", value);
},
setCoordOrigin : function(x, y) {
var change = x != this._coordOrigin.x || y != this._coordOrigin.y;
if ($defined(x)) {