Latest public/internal sync.

This commit is contained in:
Eric 2023-12-19 13:42:30 -08:00
parent fbee0d6f49
commit a2b9c0bfad
No known key found for this signature in database
GPG Key ID: 89C93F0F8D6D5A98
4 changed files with 11 additions and 18 deletions

View File

@ -470,7 +470,7 @@ class ManualGatherTab(GatherTab):
(190 if uiscale is bui.UIScale.SMALL else 225) (190 if uiscale is bui.UIScale.SMALL else 225)
+ sub_scroll_width * 0.5 + sub_scroll_width * 0.5
), ),
v + sub_scroll_height * 0.5 v + sub_scroll_height * 0.5,
), ),
glow_type='uniform', glow_type='uniform',
) )

View File

@ -243,9 +243,7 @@ class PartyWindow(bui.Window):
bui.Lstr( bui.Lstr(
resource='chatUnMuteText' if is_muted else 'chatMuteText' resource='chatUnMuteText' if is_muted else 'chatMuteText'
), ),
bui.Lstr( bui.Lstr(resource='AddToFavoritesText'),
resource='AddToFavoritesText'
)
], ],
current_choice='unmute' if is_muted else 'mute', current_choice='unmute' if is_muted else 'mute',
delegate=self, delegate=self,
@ -483,18 +481,13 @@ class PartyWindow(bui.Window):
) )
else: else:
bui.screenmessage( bui.screenmessage(
bui.Lstr( bui.Lstr(resource='NotConnectedToServerText')
resource='NotConnectedToServerText'
)
) )
else: else:
print(f'unhandled popup type: {self._popup_type}') print(f'unhandled popup type: {self._popup_type}')
def _add_to_favorites( def _add_to_favorites(
self, self, name: str, address: str | None, port_num: int | None
name: str,
address: str | None,
port_num: int | None
) -> None: ) -> None:
addr = address addr = address
if addr == '': if addr == '':