mirror of
https://github.com/Freaku17/BombSquad-Mods-byFreaku
synced 2026-08-20 07:32:35 +00:00
Fix ba.Call warnings in 1.7.53+
• API changes by Eric....
This commit is contained in:
parent
d3f903f092
commit
6b31e42ae5
1 changed files with 2 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ class NewPW(bauiv1lib.party.PartyWindow):
|
||||||
maxwidth=self._scroll_width * 0.94,
|
maxwidth=self._scroll_width * 0.94,
|
||||||
shadow=0.3,
|
shadow=0.3,
|
||||||
flatness=1.0,
|
flatness=1.0,
|
||||||
on_activate_call=bui.Call(self._copy_msg, msg),
|
on_activate_call=bui.CallPartial(self._copy_msg, msg),
|
||||||
selectable=True,
|
selectable=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -113,7 +113,7 @@ class NewPW(bauiv1lib.party.PartyWindow):
|
||||||
bui.containerwidget(edit=self._columnwidget, visible_child=txt)
|
bui.containerwidget(edit=self._columnwidget, visible_child=txt)
|
||||||
|
|
||||||
bui.textwidget(edit=txt,
|
bui.textwidget(edit=txt,
|
||||||
on_activate_call=bui.Call(self._translate_other, msg),
|
on_activate_call=bui.CallPartial(self._translate_other, msg),
|
||||||
click_activate=True)
|
click_activate=True)
|
||||||
|
|
||||||
def _translate_other(self, msg: str):
|
def _translate_other(self, msg: str):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue