reimplement setVariant for thinLines

fixes #14