-
-
Save Dmuasya/1b6971c67da212d440f6477f651e9d53 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
canvas.on({ | |
'object:moving': function(e) { | |
e.target.opacity = 0.5 | |
}, | |
'object:modified': function(e) { | |
e.target.opacity = 1 | |
}, | |
'object:selected': onObjectSelected, | |
'selection:cleared': onSelectedCleared | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment