if you are only interested in the currently active layer, every time something changed you get a drawing callback. There might be a few more callbacks from changes you are not interested in. To filter those out, store the layer.parent.lastChange and check if in each drawing callback and check if is has changed.
1 Like