-
-
Save gk3/1e4cfa002da1dd67bb9f to your computer and use it in GitHub Desktop.
setting sublayer style of clicked layer
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
layer.on Events.Click, -> | |
for sublayer in @.subLayers | |
sublayer.style = | |
background: 'blue' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment