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
020cae53f1
commit
c26342d320
1 changed files with 137 additions and 131 deletions
|
|
@ -8,7 +8,8 @@
|
|||
|
||||
|
||||
from __future__ import annotations
|
||||
import _babase, babase
|
||||
import _babase
|
||||
import babase
|
||||
import bascenev1 as bs
|
||||
import bauiv1 as bui
|
||||
from bauiv1lib.mainmenu import MainMenuWindow
|
||||
|
|
@ -151,6 +152,7 @@ class Manual_camera_window:
|
|||
on_activate_call=self._close)
|
||||
bui.containerwidget(edit=self._root_widget,
|
||||
cancel_button=self._done)
|
||||
|
||||
def _close(self):
|
||||
bui.containerwidget(edit=self._root_widget,
|
||||
transition=('out_scale'))
|
||||
|
|
@ -212,6 +214,7 @@ class Manual_camera_window:
|
|||
|
||||
old_refresh_in_game = MainMenuWindow._refresh_in_game
|
||||
|
||||
|
||||
def my_refresh_in_game(self, *args, **kwargs):
|
||||
value = old_refresh_in_game.__get__(self)(*args, **kwargs)
|
||||
camera_button = bui.buttonwidget(
|
||||
|
|
@ -225,11 +228,14 @@ def my_refresh_in_game(self, *args, **kwargs):
|
|||
on_activate_call=self._manual_camera)
|
||||
return value
|
||||
|
||||
|
||||
def _manual_camera(self):
|
||||
bui.containerwidget(edit=self._root_widget, transition='out_scale')
|
||||
Manual_camera_window()
|
||||
|
||||
# ba_meta export plugin
|
||||
|
||||
|
||||
class ByDroopy(babase.Plugin):
|
||||
def __init__(self):
|
||||
MainMenuWindow._refresh_in_game = my_refresh_in_game
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue