mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-11-15 15:31:51 +08:00
Expand the plugin tooltip area
This commit is contained in:
parent
deddba58ad
commit
6ad78cc547
@ -265,7 +265,7 @@ class SettingsView{
|
||||
}
|
||||
this.setAltText(nameDiv, name)
|
||||
if(current.description || current.description_lang){
|
||||
nameDiv.title = this.getLocalTitle(current.description, current.description_lang) || ""
|
||||
settingBox.title = this.getLocalTitle(current.description, current.description_lang) || ""
|
||||
}
|
||||
settingBox.appendChild(nameDiv)
|
||||
var valueDiv = document.createElement("div")
|
||||
@ -290,6 +290,7 @@ class SettingsView{
|
||||
valueDiv.appendChild(outputObject.valueText)
|
||||
var buttons = document.createElement("div")
|
||||
buttons.classList.add("latency-buttons")
|
||||
buttons.title = ""
|
||||
var buttonMinus = document.createElement("span")
|
||||
buttonMinus.innerText = "-"
|
||||
buttons.appendChild(buttonMinus)
|
||||
@ -1027,7 +1028,7 @@ class SettingsView{
|
||||
}
|
||||
this.setAltText(item.nameDiv, name)
|
||||
if(item.description || item.description_lang){
|
||||
item.nameDiv.title = this.getLocalTitle(item.description, item.description_lang) || ""
|
||||
item.settingBox.title = this.getLocalTitle(item.description, item.description_lang) || ""
|
||||
}
|
||||
this.getValue(item.id, item.valueDiv)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user