Decompile fn_13887 (UITagListBox::SendMsg)
Batch #17413 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_13887 UITagListBox::SendMsg: logic confirmed by peer review Peer-reviewed-by: Yommy, cremane, 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
dd6e85064d
commit
ed76a25b2d
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ int UITagListBox::SendMsg(UIWindow* sender, int message, std::intptr_t argument1
|
|||
UITagButton* tag = this->m_tagWindows[index];
|
||||
if (tag) {
|
||||
const int line = tag->m_value;
|
||||
if (line < this->topLine || this->geometry.height / this->lineHeight - this->bottomMargin + this->topLine <= line) {
|
||||
if (line < this->topLine || line >= this->geometry.height / this->lineHeight - this->bottomMargin + this->topLine) {
|
||||
tag->Enable(0);
|
||||
} else {
|
||||
tag->Enable(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue