refactoring of "drawing styles" component
line selection error