68e8b0df265d4212d4c416222220a91334a627b1
Prior to this commit, addModalTooltip only added a button listener to update the tooltip when its state changed. This, however, did not set the initial tooltip and leaves modal tooltip buttons in the client lacking a tooltip until they are toggled. This commit sets the initial tooltip state using the same toggle check as is used in the listener.
runelite

RuneLite is a free, open source OldSchool RuneScape client.
If you have any questions, please join our IRC channel on irc.rizon.net #runelite or alternatively our Discord server.
Project Layout
- cache - Libraries used for reading/writing cache files, as well as the data in it
- http-api - API for api.runelite.net
- http-service - Service for api.runelite.net
- runelite-api - RuneLite API, interfaces for accessing the client
- runelite-client - Game client with plugins
Usage
Open the project in your IDE as a Maven project, build the root module and then run the RuneLite class in runelite-client.
For more information visit the RuneLite Wiki.
License
RuneLite is licensed under the BSD 2-clause license. See the license header in the respective file to be sure.
Contribute and Develop
We've set up a separate document for our contribution guidelines.
Description
Languages
Java
98.9%
GLSL
0.7%
C
0.3%
