private void removeRegionFromTenPatches(DrawableData drawable) {
        for (var data : atlasData.getDrawables()) {
            if (data.tenPatchData != null) {
                var iter = data.tenPatchData.regionNames.iterator();
                while (iter.hasNext()) {
                    String name = iter.next();
                    if (name.equals(drawable.name)) {
                        iter.remove();
                    }
                }
                
                if (data.tenPatchData.regions != null) {
                    var iter2 = data.tenPatchData.regions.iterator();
                    while (iter2.hasNext()) {
                        var region = iter2.next();
                        if (((TextureAtlas.AtlasRegion)region).name.equals(drawable.name)) {
                            iter2.remove();
                        }
                    }
                }
            }
        }
    }
Shows a dialog to confirm deletion of all TintedDrawables based on the
provided drawable data. This is called when the delete button is pressed
on a drawable in the drawable list.
@param drawable
core/src/com/ray3k/skincomposer/dialog/DialogDrawables.java