From a5087636ab20f0a2f4a1746a845b95d143397287 Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 5 Jul 2023 13:31:51 +0200 Subject: kicad: Fix additional dimension flags --- gerbonara/cad/kicad/graphical_primitives.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gerbonara/cad/kicad/graphical_primitives.py b/gerbonara/cad/kicad/graphical_primitives.py index a1f100b..f6c56ce 100644 --- a/gerbonara/cad/kicad/graphical_primitives.py +++ b/gerbonara/cad/kicad/graphical_primitives.py @@ -253,7 +253,7 @@ class DimensionFormat: units_format: Named(int) = 1 precision: Named(int) = 7 override_value: Named(str) = None - suppress_zeros: bool = False + suppress_zeros: Flag() = False @sexp_type('style') @@ -264,7 +264,7 @@ class DimensionStyle: extension_height: Named(float) = None text_frame: Named(float) = None extension_offset: Named(float) = None - keep_text_aligned: bool = False + keep_text_aligned: Flag() = False @sexp_type('dimension') -- cgit