mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
fix
This commit is contained in:
parent
2fe40c15d2
commit
84ec23b49a
2 changed files with 5 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
|
"plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py",
|
||||||
"versions": {
|
"versions": {
|
||||||
|
"1.1.3": null,
|
||||||
"1.1.2": {
|
"1.1.2": {
|
||||||
"api_version": 9,
|
"api_version": 9,
|
||||||
"commit_sha": "8f484fc",
|
"commit_sha": "8f484fc",
|
||||||
|
|
|
||||||
|
|
@ -1676,7 +1676,7 @@ class PluginCategoryWindow(popup.PopupMenuWindow):
|
||||||
|
|
||||||
|
|
||||||
class PluginManagerWindow(bui.MainWindow):
|
class PluginManagerWindow(bui.MainWindow):
|
||||||
def __init__(self, transition: str = "in_right", origin_widget: bui.widget = None):
|
def __init__(self, transition: str = "in_right", origin_widget: bui.Widget = None):
|
||||||
self.plugin_manager = PluginManager()
|
self.plugin_manager = PluginManager()
|
||||||
self.category_selection_button = None
|
self.category_selection_button = None
|
||||||
self.selected_category = 'All'
|
self.selected_category = 'All'
|
||||||
|
|
@ -2405,7 +2405,7 @@ class NewAllSettingsWindow(AllSettingsWindow):
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
transition: str | None = 'in_right',
|
transition: str | None = 'in_right',
|
||||||
origin_widget: bui.widget | None = None,
|
origin_widget: bui.Widget | None = None,
|
||||||
):
|
):
|
||||||
# pylint: disable=too-many-statements
|
# pylint: disable=too-many-statements
|
||||||
# pylint: disable=too-many-locals
|
# pylint: disable=too-many-locals
|
||||||
|
|
@ -2481,7 +2481,7 @@ class NewAllSettingsWindow(AllSettingsWindow):
|
||||||
x_offs4 -= x_dif
|
x_offs4 -= x_dif
|
||||||
|
|
||||||
def _b_title(
|
def _b_title(
|
||||||
x: float, y: float, button: bui.widget, text: str | bui.Lstr
|
x: float, y: float, button: bui.Widget, text: str | bui.Lstr
|
||||||
) -> None:
|
) -> None:
|
||||||
bui.textwidget(
|
bui.textwidget(
|
||||||
parent=self._root_widget,
|
parent=self._root_widget,
|
||||||
|
|
@ -2640,7 +2640,7 @@ class NewAllSettingsWindow(AllSettingsWindow):
|
||||||
sel_name = bui.app.ui_v1.window_states.get(type(self), {}).get(
|
sel_name = bui.app.ui_v1.window_states.get(type(self), {}).get(
|
||||||
'sel_name'
|
'sel_name'
|
||||||
)
|
)
|
||||||
sel: bui.widget | None
|
sel: bui.Widget | None
|
||||||
if sel_name == 'Controllers':
|
if sel_name == 'Controllers':
|
||||||
sel = self._controllers_button
|
sel = self._controllers_button
|
||||||
elif sel_name == 'Graphics':
|
elif sel_name == 'Graphics':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue