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
b412893a55
commit
6fe37cc90b
1 changed files with 41 additions and 41 deletions
|
|
@ -1375,11 +1375,11 @@ class MainMenuTheme(MainMenuActivity):
|
|||
if TARGET_BALLISTICA_BUILD < 21697:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
KioskWindow().get_root_widget(),
|
||||
)
|
||||
)
|
||||
else:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
KioskWindow().get_root_widget(), from_window = self._root_widget
|
||||
)
|
||||
KioskWindow().get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
# ..or in normal cases go back to the main menu
|
||||
else:
|
||||
if main_menu_location == 'Gather':
|
||||
|
|
@ -1388,24 +1388,24 @@ class MainMenuTheme(MainMenuActivity):
|
|||
|
||||
if TARGET_BALLISTICA_BUILD < 21697:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
GatherWindow(transition=None).get_root_widget(),
|
||||
)
|
||||
GatherWindow(transition=None).get_root_widget(),
|
||||
)
|
||||
else:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
GatherWindow(transition=None).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
GatherWindow(transition=None).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
elif main_menu_location == 'Watch':
|
||||
# pylint: disable=cyclic-import
|
||||
from bauiv1lib.watch import WatchWindow
|
||||
|
||||
if TARGET_BALLISTICA_BUILD < 21697:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
WatchWindow(transition=None).get_root_widget(),
|
||||
)
|
||||
WatchWindow(transition=None).get_root_widget(),
|
||||
)
|
||||
else:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
WatchWindow(transition=None).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
WatchWindow(transition=None).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
elif main_menu_location == 'Team Game Select':
|
||||
# pylint: disable=cyclic-import
|
||||
from bauiv1lib.playlist.browser import (
|
||||
|
|
@ -1414,16 +1414,16 @@ class MainMenuTheme(MainMenuActivity):
|
|||
|
||||
if TARGET_BALLISTICA_BUILD < 21697:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
PlaylistBrowserWindow(
|
||||
sessiontype=bs.DualTeamSession, transition=None
|
||||
).get_root_widget(),
|
||||
)
|
||||
PlaylistBrowserWindow(
|
||||
sessiontype=bs.DualTeamSession, transition=None
|
||||
).get_root_widget(),
|
||||
)
|
||||
else:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
PlaylistBrowserWindow(
|
||||
sessiontype=bs.DualTeamSession, transition=None
|
||||
).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
PlaylistBrowserWindow(
|
||||
sessiontype=bs.DualTeamSession, transition=None
|
||||
).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
elif main_menu_location == 'Free-for-All Game Select':
|
||||
# pylint: disable=cyclic-import
|
||||
from bauiv1lib.playlist.browser import (
|
||||
|
|
@ -1432,54 +1432,54 @@ class MainMenuTheme(MainMenuActivity):
|
|||
|
||||
if TARGET_BALLISTICA_BUILD < 21697:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
PlaylistBrowserWindow(
|
||||
sessiontype=bs.FreeForAllSession,
|
||||
transition=None,
|
||||
).get_root_widget(),
|
||||
)
|
||||
PlaylistBrowserWindow(
|
||||
sessiontype=bs.FreeForAllSession,
|
||||
transition=None,
|
||||
).get_root_widget(),
|
||||
)
|
||||
else:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
PlaylistBrowserWindow(
|
||||
sessiontype=bs.FreeForAllSession,
|
||||
transition=None,
|
||||
).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
PlaylistBrowserWindow(
|
||||
sessiontype=bs.FreeForAllSession,
|
||||
transition=None,
|
||||
).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
elif main_menu_location == 'Coop Select':
|
||||
# pylint: disable=cyclic-import
|
||||
from bauiv1lib.coop.browser import CoopBrowserWindow
|
||||
|
||||
if TARGET_BALLISTICA_BUILD < 21697:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
CoopBrowserWindow(transition=None).get_root_widget(),
|
||||
)
|
||||
CoopBrowserWindow(transition=None).get_root_widget(),
|
||||
)
|
||||
else:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
CoopBrowserWindow(transition=None).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
CoopBrowserWindow(transition=None).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
elif main_menu_location == 'Benchmarks & Stress Tests':
|
||||
# pylint: disable=cyclic-import
|
||||
from bauiv1lib.debug import DebugWindow
|
||||
|
||||
if TARGET_BALLISTICA_BUILD < 21697:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
DebugWindow(transition=None).get_root_widget(),
|
||||
)
|
||||
DebugWindow(transition=None).get_root_widget(),
|
||||
)
|
||||
else:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
DebugWindow(transition=None).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
DebugWindow(transition=None).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
else:
|
||||
# pylint: disable=cyclic-import
|
||||
from bauiv1lib.mainmenu import MainMenuWindow
|
||||
|
||||
if TARGET_BALLISTICA_BUILD < 21697:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
MainMenuWindow(transition=None).get_root_widget(),
|
||||
)
|
||||
MainMenuWindow(transition=None).get_root_widget(),
|
||||
)
|
||||
else:
|
||||
bs.app.ui_v1.set_main_menu_window(
|
||||
MainMenuWindow(transition=None).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
MainMenuWindow(transition=None).get_root_widget(), from_window=self._root_widget
|
||||
)
|
||||
|
||||
if not specialoffer.show_offer():
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue