From 1f7d3aae43071725f3e7268b0b7b2abb10501a7b Mon Sep 17 00:00:00 2001 From: salt-die <53280662+salt-die@users.noreply.github.com> Date: Sat, 14 Oct 2023 13:18:11 -0500 Subject: [PATCH] `Gadget.region` initially set to empty region instead of None. --- batgrl/gadgets/gadget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batgrl/gadgets/gadget.py b/batgrl/gadgets/gadget.py index 31716cf2..8ecb389f 100644 --- a/batgrl/gadgets/gadget.py +++ b/batgrl/gadgets/gadget.py @@ -643,7 +643,7 @@ def __init__( self.is_visible = is_visible self.is_enabled = is_enabled - self.region: Region | None = None + self.region: Region = Region() """The visible portion of the gadget on the screen, set by the root.""" def __repr__(self):