private void removeDuplicateDrawables(FileHandle handle, boolean deleteStyleValues) {
        boolean refreshDrawables = false;
        String name = DrawableData.proper(handle.name());
        for (int i = 0; i < atlasData.getDrawables().size; i++) {
            DrawableData data = atlasData.getDrawables().get(i);
            if (name.equals(DrawableData.proper(data.file.name()))) {
                atlasData.getDrawables().removeValue(data, true);
                
                if (deleteStyleValues) {
                    for (Array<StyleData> datas : jsonData.getClassStyleMap().values()) {
                        for (StyleData tempData : datas) {
                            for (StyleProperty prop : tempData.properties.values()) {
                                if (prop != null && prop.type.equals(Drawable.class) && prop.value != null && prop.value.equals(data.toString())) {
                                    prop.value = null;
                                }
                            }
                        }
                    }
                }
                
                refreshDrawables = true;
                i--;
            }
        }
        
        rootTable.refreshStyleProperties(true);
        rootTable.refreshPreview();
        
        if (refreshDrawables) {
            gatherDrawables();
        }
    }
Removes any duplicate drawables that share the same file name. This
ignores the file extension and also deletes TintedDrawables from the
same file.
@param handle
core/src/com/ray3k/skincomposer/dialog/DialogDrawables.java