Decompile fn_07716 (UIMessengerGroupWnd::LayoutButtons)
Batch #17359 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_07716 UIMessengerGroupWnd::LayoutButtons: logic confirmed by peer review Peer-reviewed-by: Yommy, alisonrag, bibinir Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
45717443f7
commit
80500bc276
1 changed files with 5 additions and 6 deletions
|
|
@ -1324,19 +1324,18 @@ void UIMessengerGroupWnd::LayoutButtons() {
|
|||
|
||||
int x;
|
||||
if (this->mode == 1) {
|
||||
const int offset = hidden * -26;
|
||||
if (g_session.PartyCount()) {
|
||||
this->buttons[10]->Move(offset + 213, this->geometry.height - 40);
|
||||
this->buttons[9]->Move(offset + 161, this->geometry.height - 40);
|
||||
this->buttons[8]->Move(offset + 187, this->geometry.height - 40);
|
||||
this->buttons[10]->Move(hidden * -26 + 213, this->geometry.height - 40);
|
||||
this->buttons[9]->Move(hidden * -26 + 161, this->geometry.height - 40);
|
||||
this->buttons[8]->Move(hidden * -26 + 187, this->geometry.height - 40);
|
||||
this->buttons[7]->Move(-100, -100);
|
||||
} else {
|
||||
this->buttons[10]->Move(-100, -100);
|
||||
this->buttons[7]->Move(offset + 161, this->geometry.height - 40);
|
||||
this->buttons[7]->Move(hidden * -26 + 161, this->geometry.height - 40);
|
||||
this->buttons[8]->Move(-100, -100);
|
||||
this->buttons[9]->Move(-100, -100);
|
||||
}
|
||||
x = offset + 135;
|
||||
x = hidden * -26 + 135;
|
||||
} else {
|
||||
this->buttons[7]->Move(-100, -100);
|
||||
this->buttons[8]->Move(-100, -100);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue