fabricjs: fixed test

This commit is contained in:
Igor Oleinikov
2013-12-19 14:59:25 +04:00
parent f0e73667f2
commit 555838d599
+2 -2
View File
@@ -8,10 +8,10 @@ function sample1() {
canvas.on({
'object:moving': function (e) {
e.target.opacity = 0.5;
(<any>e.target).opacity = 0.5;
},
'object:modified': function (e) {
e.target.opacity = 1;
(<any>e.target).opacity = 1;
}
});