Fix transcript starting off scrolled up
This commit is contained in:
@@ -26,7 +26,7 @@ bool cScrollbar::isClickable(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void cScrollbar::setPosition(long newPos) {
|
void cScrollbar::setPosition(long newPos) {
|
||||||
pos = minmax(0,max,pos);
|
pos = minmax(0,max,newPos);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cScrollbar::setMaximum(long newMax) {
|
void cScrollbar::setMaximum(long newMax) {
|
||||||
|
|||||||
Reference in New Issue
Block a user