Repository navigation
Addon Mockery Forever 0.3.1
Scroll bars where the game puts them, and a check for ones that cover things.
UIPanelScrollFrameTemplategets its real scroll bar. Like the game's template:ScrollBarhangs outside the scroll frame's right edge (16 wide, 6 px out, 16 px in from the top and bottom), withScrollUpButton/ScrollDownButtonpast its ends and the knob at the top. Also forUIPanelInputScrollFrameTemplateandFauxScrollFrameTemplate. The scene pages draw it with the game's art.- Scroll bar check. Every scene reports a scroll bar that sticks out of its window, or covers text, a texture or another frame in that window. Things drawn above it (a higher strata or frame level, like a pop-up) don't count.
- The up/down buttons scroll (half the frame per click), and
SetVerticalScroll/GetVerticalScroll/GetVerticalScrollRangework. - Frames remember their strata (
SetFrameStrata/GetFrameStrata, inherited from the parent like in game).
Getting it
Install Node.js (nodejs.org), download AddonMockeryForever-0.3.1.zip, unzip it anywhere and run Addon Mockery Forever.exe. Updating? Unzip over your copy; your addons.json, settings.json and Addons folder stay.
If it saves you time, you can support it at https://donorbox.org/generalwrex.