[ci] auto-format

This commit is contained in:
vishal332008 2025-01-22 17:23:09 +00:00 committed by github-actions[bot]
parent 4396cc1c0b
commit 32e5180ab2

View file

@ -242,22 +242,22 @@ def newbuild_favorites_tab(self, region_width: float, region_height: float) -> N
margin=0, margin=0,
claims_left_right=True) claims_left_right=True)
self._no_parties_added_text = bui.textwidget( self._no_parties_added_text = bui.textwidget(
parent=self._container, parent=self._container,
size=(0, 0), size=(0, 0),
h_align='center', h_align='center',
v_align='center', v_align='center',
text='', text='',
color=(0.6, 0.6, 0.6), color=(0.6, 0.6, 0.6),
scale=1.2, scale=1.2,
position=( position=(
( (
(240 if uiscale is bui.UIScale.SMALL else 225) (240 if uiscale is bui.UIScale.SMALL else 225)
+ sub_scroll_width * 0.5 + sub_scroll_width * 0.5
),
v + sub_scroll_height * 0.5,
), ),
glow_type='uniform', v + sub_scroll_height * 0.5,
) ),
glow_type='uniform',
)
self._favorite_selected = None self._favorite_selected = None
self._refresh_favorites() self._refresh_favorites()