mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
fabricjs: fixed test
This commit is contained in:
@@ -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