mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
[ci] auto-format
This commit is contained in:
parent
d28f558470
commit
0c5ce76154
2 changed files with 195 additions and 197 deletions
|
|
@ -55,7 +55,6 @@ from bascenev1 import _lobby
|
||||||
from bascenev1lib.actor.spazappearance import *
|
from bascenev1lib.actor.spazappearance import *
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def __init__(self, vpos: float, sessionplayer: bs.SessionPlayer,
|
def __init__(self, vpos: float, sessionplayer: bs.SessionPlayer,
|
||||||
lobby: 'Lobby') -> None:
|
lobby: 'Lobby') -> None:
|
||||||
self._deek_sound = bs.getsound('deek')
|
self._deek_sound = bs.getsound('deek')
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,6 @@ def is_game_version_lower_than(version):
|
||||||
return game_version < version
|
return game_version < version
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def updateBannedServersCache():
|
def updateBannedServersCache():
|
||||||
response = None
|
response = None
|
||||||
config = babase.app.config
|
config = babase.app.config
|
||||||
|
|
@ -327,7 +326,6 @@ def _clear(self) -> None:
|
||||||
widget.delete()
|
widget.delete()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def update(self, index: int, party: PartyEntry, sub_scroll_width: float,
|
def update(self, index: int, party: PartyEntry, sub_scroll_width: float,
|
||||||
sub_scroll_height: float, lineheight: float,
|
sub_scroll_height: float, lineheight: float,
|
||||||
columnwidget: bui.Widget, join_text: bui.Widget,
|
columnwidget: bui.Widget, join_text: bui.Widget,
|
||||||
|
|
@ -455,6 +453,7 @@ def update(self, index: int, party: PartyEntry, sub_scroll_width: float,
|
||||||
|
|
||||||
party.clean_display_index = index
|
party.clean_display_index = index
|
||||||
|
|
||||||
|
|
||||||
def _get_popup_window_scale() -> float:
|
def _get_popup_window_scale() -> float:
|
||||||
uiscale = bui.app.ui_v1.uiscale
|
uiscale = bui.app.ui_v1.uiscale
|
||||||
return (2.3 if uiscale is babase.UIScale.SMALL else
|
return (2.3 if uiscale is babase.UIScale.SMALL else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue