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:
parent
e47cc85943
commit
78bdd1a793
1 changed files with 3 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue