mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 17:15:09 -07:00
[UserListDelegate] Supply providerid in cmd, position popup correctly (#7020)
* [UserListDelegate] Transmit providerId in cmd when setting user banner card * [UserListDelegate] Position popup correctly * Lint. --------- Co-authored-by: Lukas Brübach <lukas.bruebach@bdosecurity.de>
This commit is contained in:
parent
4cbc00b9c4
commit
ad4922537d
2 changed files with 33 additions and 16 deletions
|
|
@ -335,6 +335,7 @@ void UserInfoBox::actBannerCard()
|
|||
Command_SetCardArtParams cmd;
|
||||
cmd.set_card_name(p.cardName.toStdString());
|
||||
if (!p.cardName.isEmpty()) {
|
||||
cmd.set_card_provider_id(p.cardProviderId.toStdString());
|
||||
cmd.set_margin_pct_l(p.marginPctL);
|
||||
cmd.set_margin_pct_r(p.marginPctR);
|
||||
cmd.set_vertical_offset(p.verticalOffset);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue