mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-08 16:53:49 +08:00
Latest public/internal sync.
This commit is contained in:
parent
fbee0d6f49
commit
a2b9c0bfad
@ -470,7 +470,7 @@ class ManualGatherTab(GatherTab):
|
||||
(190 if uiscale is bui.UIScale.SMALL else 225)
|
||||
+ sub_scroll_width * 0.5
|
||||
),
|
||||
v + sub_scroll_height * 0.5
|
||||
v + sub_scroll_height * 0.5,
|
||||
),
|
||||
glow_type='uniform',
|
||||
)
|
||||
|
||||
@ -243,9 +243,7 @@ class PartyWindow(bui.Window):
|
||||
bui.Lstr(
|
||||
resource='chatUnMuteText' if is_muted else 'chatMuteText'
|
||||
),
|
||||
bui.Lstr(
|
||||
resource='AddToFavoritesText'
|
||||
)
|
||||
bui.Lstr(resource='AddToFavoritesText'),
|
||||
],
|
||||
current_choice='unmute' if is_muted else 'mute',
|
||||
delegate=self,
|
||||
@ -483,18 +481,13 @@ class PartyWindow(bui.Window):
|
||||
)
|
||||
else:
|
||||
bui.screenmessage(
|
||||
bui.Lstr(
|
||||
resource='NotConnectedToServerText'
|
||||
)
|
||||
bui.Lstr(resource='NotConnectedToServerText')
|
||||
)
|
||||
else:
|
||||
print(f'unhandled popup type: {self._popup_type}')
|
||||
|
||||
def _add_to_favorites(
|
||||
self,
|
||||
name: str,
|
||||
address: str | None,
|
||||
port_num: int | None
|
||||
self, name: str, address: str | None, port_num: int | None
|
||||
) -> None:
|
||||
addr = address
|
||||
if addr == '':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user