[ci] auto-format

This commit is contained in:
BroBordd 2025-04-05 13:44:11 +00:00 committed by github-actions[bot]
parent 2f1346a648
commit 559e65e553

View file

@ -1848,14 +1848,14 @@ class PluginManagerWindow(bui.MainWindow):
if self.category_selection_button is None: if self.category_selection_button is None:
self.category_selection_button = b = bui.buttonwidget(parent=self._root_widget, self.category_selection_button = b = bui.buttonwidget(parent=self._root_widget,
position=(category_pos_x, position=(category_pos_x,
category_pos_y), category_pos_y),
size=b_size, size=b_size,
label=label, label=label,
button_type="square", button_type="square",
textcolor=b_textcolor, textcolor=b_textcolor,
text_scale=0.6) text_scale=0.6)
bui.buttonwidget(b,on_activate_call=lambda: self.show_categories_window(source=b)), bui.buttonwidget(b, on_activate_call=lambda: self.show_categories_window(source=b)),
else: else:
self.category_selection_button = bui.buttonwidget(edit=self.category_selection_button, self.category_selection_button = bui.buttonwidget(edit=self.category_selection_button,
label=label) label=label)
@ -2090,7 +2090,7 @@ class PluginManagerWindow(bui.MainWindow):
def show_plugin_window(self, plugin): def show_plugin_window(self, plugin):
PluginWindow(plugin, self._root_widget, lambda: self.draw_plugin_name(plugin)) PluginWindow(plugin, self._root_widget, lambda: self.draw_plugin_name(plugin))
def show_categories_window(self,source): def show_categories_window(self, source):
PluginCategoryWindow( PluginCategoryWindow(
self.plugin_manager.categories.keys(), self.plugin_manager.categories.keys(),
self.selected_category, self.selected_category,
@ -2182,13 +2182,13 @@ class PluginManagerSettingsWindow(popup.PopupWindow):
pos -= 20 pos -= 20
self._changelog_button = b = bui.buttonwidget(parent=self._root_widget, self._changelog_button = b = bui.buttonwidget(parent=self._root_widget,
position=((width * 0.2) - button_size[0] / 2 - 5, position=((width * 0.2) - button_size[0] / 2 - 5,
pos), pos),
size=(80, 30), size=(80, 30),
textcolor=b_text_color, textcolor=b_text_color,
button_type='square', button_type='square',
label='') label='')
bui.buttonwidget(b,on_activate_call=lambda:ChangelogWindow(b)) bui.buttonwidget(b, on_activate_call=lambda: ChangelogWindow(b))
bui.textwidget(parent=self._root_widget, bui.textwidget(parent=self._root_widget,
position=((width * 0.2) - button_size[0] / 2, pos), position=((width * 0.2) - button_size[0] / 2, pos),
size=(70, 30), size=(70, 30),