mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-07 17:36:00 +00:00
[ci] auto-format
This commit is contained in:
parent
1b5953fb98
commit
6e457dae84
1 changed files with 5 additions and 6 deletions
|
|
@ -961,16 +961,15 @@ class PluginWindow(popup.PopupWindow):
|
|||
rotate=25,
|
||||
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"]
|
||||
if tutorial_url:
|
||||
def tutorial_confirm_window():
|
||||
text="This will take you to \n\""+self.plugin.info["external_url"] + "\""
|
||||
text = "This will take you to \n\""+self.plugin.info["external_url"] + "\""
|
||||
tutorial_confirm_window = confirm.ConfirmWindow(
|
||||
text=text,
|
||||
action=lambda: ba.open_url(self.plugin.info["external_url"]),
|
||||
)
|
||||
text=text,
|
||||
action=lambda: ba.open_url(self.plugin.info["external_url"]),
|
||||
)
|
||||
open_pos_x = (350 if _uiscale is ba.UIScale.SMALL else
|
||||
410 if _uiscale is ba.UIScale.MEDIUM else 400)
|
||||
open_pos_y = (100 if _uiscale is ba.UIScale.SMALL else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue