Skip to content

Commit

Permalink
Gadget.region initially set to empty region instead of None.
Browse files Browse the repository at this point in the history
  • Loading branch information
salt-die committed Oct 14, 2023
1 parent 4409a37 commit 1f7d3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batgrl/gadgets/gadget.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 1f7d3aa

Please sign in to comment.