Add Draft workbench to .pre-commit-config (#24664)
* Add Draft workbench to .pre-commit-config * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -92,9 +92,7 @@ class DraftAnnotation(object):
|
||||
typ = obj.Proxy.Type
|
||||
if typ == "Label":
|
||||
vobj.ArrowTypeStart = vobj.ArrowType
|
||||
elif typ == "AngularDimension" \
|
||||
or obj.Diameter \
|
||||
or not vobj.Proxy.is_linked_to_circle():
|
||||
elif typ == "AngularDimension" or obj.Diameter or not vobj.Proxy.is_linked_to_circle():
|
||||
vobj.ArrowTypeStart = vobj.ArrowType
|
||||
vobj.ArrowTypeEnd = vobj.ArrowType
|
||||
else: # Radial dimension
|
||||
@@ -115,7 +113,7 @@ class DraftAnnotation(object):
|
||||
|
||||
return
|
||||
|
||||
def loads(self,state):
|
||||
def loads(self, state):
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user