A very simple implementation, not as complex as something like #768 yet, but it can be done in the future. The main current limitation is that it doesn't work with group layers as of right now.