summaryrefslogtreecommitdiff
path: root/gerbonara
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2023-07-05 13:30:27 +0200
committerjaseg <git@jaseg.de>2023-07-05 13:30:27 +0200
commitfb1d3928310a455d43197c8a2e6296c77a18dc34 (patch)
treecb230fbbf5f0c41f7a979b78ab362d1d489e52a1 /gerbonara
parent8f7b2893dc9b6bc1b0c7d6f6476e98c8c27a948c (diff)
downloadgerbonara-fb1d3928310a455d43197c8a2e6296c77a18dc34.tar.gz
gerbonara-fb1d3928310a455d43197c8a2e6296c77a18dc34.tar.bz2
gerbonara-fb1d3928310a455d43197c8a2e6296c77a18dc34.zip
kicad: Fix dimension.locked attr
Diffstat (limited to 'gerbonara')
-rw-r--r--gerbonara/cad/kicad/graphical_primitives.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/cad/kicad/graphical_primitives.py b/gerbonara/cad/kicad/graphical_primitives.py
index 9e3e913..a1f100b 100644
--- a/gerbonara/cad/kicad/graphical_primitives.py
+++ b/gerbonara/cad/kicad/graphical_primitives.py
@@ -269,7 +269,7 @@ class DimensionStyle:
@sexp_type('dimension')
class Dimension:
- locked: bool = False
+ locked: Flag() = False
dimension_type: Named(AtomChoice(Atom.aligned, Atom.leader, Atom.center, Atom.orthogonal, Atom.radial), name='type') = Atom.aligned
layer: Named(str) = 'Dwgs.User'
tstamp: Timestamp = field(default_factory=Timestamp)