Better alignment

This commit is contained in:
XANTRONIX 2025-03-04 00:19:57 -05:00
parent 6a00aad2a1
commit d0e1b763a7

View file

@ -124,11 +124,11 @@ class Hodograph():
legends = {
'': (
lambda e: x + cx - e.width / 2,
lambda e: y + self.height - 2 * e.height
lambda e: y + self.height - e.height
),
'90°': (
lambda e: x + cx - e.width * 2,
lambda e: x + e.height,
lambda e: y + cy + e.height / 2
),
@ -138,7 +138,7 @@ class Hodograph():
),
'270°': (
lambda e: x + self.width - e.width * 2,
lambda e: x + self.width - e.width - e.height,
lambda e: y + cy + e.height / 2
)
}