Fix missing scrollbar on message log tab.
This commit is contained in:
parent
2407b77c60
commit
aab750997d
2 changed files with 8 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.9 r2 \cu(Thu 14 Apr 11:02:59 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.2.9 r2 \cu(2022-04-14 11:02:59)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.9 r3 \cu(Thu 14 Apr 11:03:17 CEST 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.2.9 r3 \cu(2022-04-14 11:03:17)\c-";
|
||||
|
|
|
|||
|
|
@ -65,7 +65,12 @@ Class DemolitionistChatTab : DemolitionistMenuTab
|
|||
}
|
||||
if ( ofs < maxofs ) recenter = false; // don't recenter if we weren't at the bottom
|
||||
}
|
||||
else recenter = false;
|
||||
else
|
||||
{
|
||||
for ( int i=0; i<msglist.items.Size(); i++ )
|
||||
ypos += msglist.items[i].GetHeight();
|
||||
recenter = false;
|
||||
}
|
||||
maxofs = max(ypos-int(master.ws.y-46),0);
|
||||
// push it to the bottom
|
||||
if ( recenter ) ofs = maxofs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue