X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/blobdiff_plain/c0c122e7b04612ccb0cdea6a11ae117aab727436..6ec826343a80d316d7b90484750256cd5adc57bc:/displayio/_area.py diff --git a/displayio/_area.py b/displayio/_area.py index f7272dd..0b3dd80 100644 --- a/displayio/_area.py +++ b/displayio/_area.py @@ -87,10 +87,10 @@ class Area: def union(self, other, union): """Combine this area along with another into union""" if self.empty(): - self.copy_into(union) + other.copy_into(union) return if other.empty(): - other.copy_into(union) + self.copy_into(union) return union.x1 = min(self.x1, other.x1)