From 84ec23b49a79a63d17d159388de8f134ef84aebf Mon Sep 17 00:00:00 2001 From: Loup-Garou911XD Date: Tue, 8 Apr 2025 22:29:14 +0530 Subject: [PATCH] fix --- index.json | 1 + plugin_manager.py | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/index.json b/index.json index f57b65b..5e701a4 100644 --- a/index.json +++ b/index.json @@ -1,6 +1,7 @@ { "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "versions": { + "1.1.3": null, "1.1.2": { "api_version": 9, "commit_sha": "8f484fc", diff --git a/plugin_manager.py b/plugin_manager.py index 2ae85c4..a7b6aad 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -1676,7 +1676,7 @@ class PluginCategoryWindow(popup.PopupMenuWindow): 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.category_selection_button = None self.selected_category = 'All' @@ -2405,7 +2405,7 @@ class NewAllSettingsWindow(AllSettingsWindow): def __init__( self, 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-locals @@ -2481,7 +2481,7 @@ class NewAllSettingsWindow(AllSettingsWindow): x_offs4 -= x_dif 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: bui.textwidget( 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' ) - sel: bui.widget | None + sel: bui.Widget | None if sel_name == 'Controllers': sel = self._controllers_button elif sel_name == 'Graphics':