File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ def __init__(
131
131
self ._anchor_point = anchor_point
132
132
self ._anchored_position = anchored_position
133
133
134
- self ._base_alignment = base_alignment
134
+ self .base_alignment = base_alignment
135
135
136
136
# call the text updater with all the arguments.
137
137
self ._reset_text (
@@ -197,7 +197,7 @@ def _reset_text(
197
197
if save_text is not None :
198
198
self ._save_text = save_text
199
199
if base_alignment is not None :
200
- self ._base_alignment = base_alignment
200
+ self .base_alignment = base_alignment
201
201
202
202
# if text is not provided as a parameter (text is None), use the previous value.
203
203
if (text is None ) and self ._save_text :
@@ -269,7 +269,7 @@ def _reset_text(
269
269
self ._padding_top + y_offset ,
270
270
)
271
271
272
- if self ._base_alignment :
272
+ if self .base_alignment :
273
273
label_position_yoffset = 0
274
274
else :
275
275
label_position_yoffset = self ._get_ascent () // 2
You can’t perform that action at this time.
0 commit comments