fix enum values that are empty tuples
This commit is contained in:
parent
87352a4fd7
commit
03bfdd3d99
1 changed files with 5 additions and 5 deletions
|
|
@ -425,19 +425,19 @@ class TextLineFonts:
|
||||||
|
|
||||||
TextLineFonts._define_fonts()
|
TextLineFonts._define_fonts()
|
||||||
|
|
||||||
class FontVariantCode(enum.Enum):
|
class FontVariantCode(tuple, enum.Enum):
|
||||||
CODE = ("code",)
|
CODE = ("code",)
|
||||||
NOT_CODE = ()
|
NOT_CODE = ()
|
||||||
|
|
||||||
class FontVariantBold(enum.Enum):
|
class FontVariantBold(tuple, enum.Enum):
|
||||||
BOLD = ("b",)
|
BOLD = ("b",)
|
||||||
NOT_BOLD = ()
|
NOT_BOLD = ()
|
||||||
|
|
||||||
class FontVariantItalic(enum.Enum):
|
class FontVariantItalic(tuple, enum.Enum):
|
||||||
ITALIC = ("i",)
|
ITALIC = ("i",)
|
||||||
NOT_ITALIC = ()
|
NOT_ITALIC = ()
|
||||||
|
|
||||||
class FontVariantSubSuper(enum.Enum):
|
class FontVariantSubSuper(tuple, enum.Enum):
|
||||||
NOT_SUB_SUPER = ()
|
NOT_SUB_SUPER = ()
|
||||||
SUBSCRIPT = ("sub",)
|
SUBSCRIPT = ("sub",)
|
||||||
SUPERSCRIPT = ("sup",)
|
SUPERSCRIPT = ("sup",)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue