Files
runelite/runelite-client/src/main/scripts
Adam c8ec004b7a banktags: improve bank scrollbar updates
With tag tab tab or "Remove tab separators", the scrollbar height needs to be
adjusted to account for either many tag tabs (which requires scrolling to see)
or the hiding of the tab separators. This is because we artifically filter the
bank results without keeping the bank in searching mode, causing the vanilla
code which usually computes the scroll height to be incorrect.

The existing code does this by manually invoking [proc,update_scrollbar] later
with the recomputed scroll height. Now that invokeLater runs next tick and not
next frame, this leaves several frames with the scrollbar the incorrect size.

The desired scroll height is passed to [proc,bankmain_finishbuilding] in
argument int12, so instead we recompute the scroll height and overwrite the
script argument prior to execution.
2021-11-10 21:38:29 -05:00
..
2021-05-19 05:56:03 -06:00
2021-10-06 04:47:28 -06:00
2021-10-06 04:47:28 -06:00
2021-07-21 04:38:24 -06:00
2019-03-09 00:01:48 -07:00
2018-10-11 16:37:02 +02:00