Expand the plugin tooltip area

This commit is contained in:
KatieFrogs 2022-02-22 19:52:42 +03:00
parent deddba58ad
commit 6ad78cc547

View File

@ -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)
}