File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ def __init__(
140
140
if (anchored_position is not None ) and (anchor_point is not None ):
141
141
self .anchored_position = anchored_position
142
142
143
- def _create_background_box (self , lines : int , y_offset : int ):
143
+ def _create_background_box (self , lines : int , y_offset : int ) -> None :
144
144
"""Private Class function to create a background_box
145
145
:param lines: int number of lines
146
146
:param y_offset: int y pixel bottom coordinate for the background_box"""
@@ -456,7 +456,7 @@ def anchored_position(self) -> Tuple[int, int]:
456
456
)
457
457
458
458
@anchored_position .setter
459
- def anchored_position (self , new_position : Tuple [int , int ]) -> Tuple [ int , int ] :
459
+ def anchored_position (self , new_position : Tuple [int , int ]) -> None :
460
460
if (self ._anchor_point is None ) or (new_position is None ):
461
461
return # Note: anchor_point must be set before setting anchored_position
462
462
self .x = int (
You can’t perform that action at this time.
0 commit comments