Decompile fn_09242 (UIAchTab::UpdateScrollBar)

Batch #17297 by eAthena: 1 byte-identical, 0 confirmed by peer review.

- fn_09242 UIAchTab::UpdateScrollBar: byte-identical

Merged automatically: every function is byte-identical to the original.
This commit is contained in:
ragnarok-clanker 2026-11-11 20:37:47 +00:00
commit 78bdd1a793

View file

@ -820,13 +820,10 @@ void UIAchTab::UpdateScrollBar() {
this->scrollBar->SetRange(overflow, visible, count);
if (this->scrollPos < 0) {
this->scrollPos = 0;
this->scrollBar->SetPosition(0);
} else {
if (this->scrollPos > overflow) {
this->scrollPos = overflow;
}
this->scrollBar->SetPosition(this->scrollPos);
} else if (this->scrollPos > overflow) {
this->scrollPos = overflow;
}
this->scrollBar->SetPosition(this->scrollPos);
} else {
this->scrollPos = 0;
this->scrollBar->SetRange(0, visible, count);