[designspaceLib] Add DiscreteAxisDescriptor default in docstring

This commit is contained in:
Jany Belluz 2022-06-08 10:03:04 +01:00 committed by GitHub
parent ec4bcf54c9
commit 737abf5020
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -950,6 +950,7 @@ class DiscreteAxisDescriptor(AbstractAxisDescriptor):
a2 = DiscreteAxisDescriptor() a2 = DiscreteAxisDescriptor()
a2.values = [0, 1] a2.values = [0, 1]
a2.default = 0
a2.name = "Italic" a2.name = "Italic"
a2.tag = "ITAL" a2.tag = "ITAL"
a2.labelNames['fr'] = "Italique" a2.labelNames['fr'] = "Italique"