mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-09 16:45:46 -07:00
prevent text wrapping, prevent logintimer from reloading (preserve time)
This commit is contained in:
parent
5e90004474
commit
f8dcbfafdb
3 changed files with 9 additions and 3 deletions
|
|
@ -191,8 +191,10 @@ object Helpers {
|
|||
}
|
||||
|
||||
fun formatHtmlLabelText(text1: String, color1: Color, text2: String, color2: Color): String {
|
||||
return "<html><span style='color:rgb(${color1.red},${color1.green},${color1.blue});'>$text1</span>" +
|
||||
"<span style='color:rgb(${color2.red},${color2.green},${color2.blue});'>$text2</span></html>"
|
||||
return "<html><div style='white-space:nowrap;'>" +
|
||||
"<span style='color:rgb(${color1.red},${color1.green},${color1.blue});'>$text1</span>" +
|
||||
"<span style='color:rgb(${color2.red},${color2.green},${color2.blue});'>$text2</span>" +
|
||||
"</div></html>"
|
||||
}
|
||||
|
||||
fun formatNumber(value: Int): String {
|
||||
|
|
|
|||
|
|
@ -35,6 +35,10 @@ class plugin : Plugin() {
|
|||
displayMessageCounter = 0
|
||||
}
|
||||
|
||||
override fun OnPluginsReloaded(): Boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
override fun Draw(timeDelta: Long) {
|
||||
if (component == null)
|
||||
return
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
AUTHOR='Woahscam, Ceikry'
|
||||
DESCRIPTION='Displays the session time played, system time, or no time over the "Report Abuse" button.'
|
||||
VERSION=1.2
|
||||
VERSION=1.1
|
||||
Loading…
Add table
Add a link
Reference in a new issue