def _update_get_tickets_button_pos(self) -> None: if self._get_tickets_button: pos = (self._width - 252 - (self._x_inset + (47 if ba.app.small_ui and _ba.is_party_icon_visible() else 0)), self._height - 70) ba.buttonwidget(edit=self._get_tickets_button, position=pos)
def _update_get_tickets_button_pos(self) -> None: uiscale = ba.app.uiscale if self._get_tickets_button: pos = (self._width - 252 - (self._x_inset + (47 if uiscale is ba.UIScale.SMALL and _ba.is_party_icon_visible() else 0)), self._height - 70) ba.buttonwidget(edit=self._get_tickets_button, position=pos)