mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
fabricjs: fixed test
This commit is contained in:
1 parent
f0e73667f2
commit
555838d599
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user