Use FX class for delete node events.
This commit is contained in:
@@ -123,5 +123,10 @@ web2d.Group = new Class({
|
||||
}
|
||||
|
||||
this._peer._native.appendChild(DomElement);
|
||||
},
|
||||
|
||||
setOpacity:function(value){
|
||||
this._peer.setOpacity(value);
|
||||
}
|
||||
|
||||
});
|
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user