771538f362
The `execute_eraser_on_drawing` expects the first argument to be the layer index, but the drawing index was passed to the lamda. The fix makes sure to pass the active layer index. Also return early if there is no active layer.