mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-19 05:46:00 +00:00
Merge branch 'add-tutorial-button' into Add-tutorial-button
This commit is contained in:
commit
958b4c6231
2 changed files with 7 additions and 0 deletions
|
|
@ -1,5 +1,9 @@
|
||||||
## Plugin Manager (dd-mm-yyyy)
|
## Plugin Manager (dd-mm-yyyy)
|
||||||
|
|
||||||
|
### 0.2.3 (31-01-2023)
|
||||||
|
|
||||||
|
- Displays a tutorial button in the plugin window, whenever there is a supported url present in the plugin data.
|
||||||
|
|
||||||
### 0.2.2 (18-01-2023)
|
### 0.2.2 (18-01-2023)
|
||||||
|
|
||||||
- Auto add new line breaks in long plugin descriptions.
|
- Auto add new line breaks in long plugin descriptions.
|
||||||
|
|
|
||||||
|
|
@ -961,6 +961,7 @@ class PluginWindow(popup.PopupWindow):
|
||||||
rotate=25,
|
rotate=25,
|
||||||
scale=0.45)
|
scale=0.45)
|
||||||
|
|
||||||
|
|
||||||
# Below snippet handles the tutorial button in the plugin window
|
# Below snippet handles the tutorial button in the plugin window
|
||||||
tutorial_url = self.plugin.info["external_url"]
|
tutorial_url = self.plugin.info["external_url"]
|
||||||
if tutorial_url:
|
if tutorial_url:
|
||||||
|
|
@ -982,7 +983,9 @@ class PluginWindow(popup.PopupWindow):
|
||||||
label="",
|
label="",
|
||||||
# color=ba.app.ui.title_color,
|
# color=ba.app.ui.title_color,
|
||||||
color=(0.6, 0.53, 0.63),
|
color=(0.6, 0.53, 0.63),
|
||||||
|
|
||||||
on_activate_call=tutorial_confirm_window)
|
on_activate_call=tutorial_confirm_window)
|
||||||
|
|
||||||
ba.imagewidget(parent=self._root_widget,
|
ba.imagewidget(parent=self._root_widget,
|
||||||
position=(open_pos_x, open_pos_y),
|
position=(open_pos_x, open_pos_y),
|
||||||
size=(40, 40),
|
size=(40, 40),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue