eric6/Graphics/AssociationItem.py

changeset 8234
fcb6b4b96274
parent 8228
772103b14c18
child 8257
28146736bbfc
diff -r bad78a592cc2 -r fcb6b4b96274 eric6/Graphics/AssociationItem.py
--- a/eric6/Graphics/AssociationItem.py	Tue Apr 13 17:49:05 2021 +0200
+++ b/eric6/Graphics/AssociationItem.py	Tue Apr 13 18:02:59 2021 +0200
@@ -342,10 +342,7 @@
         elif region == East:
             px = x + ww
             py = y + ch
-        elif region == South:
-            px = x + cw
-            py = y + wh
-        elif region == Center:
+        elif region in (South, Center):
             px = x + cw
             py = y + wh
         

eric ide

mercurial