Custom Buttons: working left/right/middle click
This commit is contained in:
parent
17944211d5
commit
21383b03c5
3 changed files with 34 additions and 19 deletions
|
|
@ -46,14 +46,15 @@ NIconButton {
|
|||
} else {
|
||||
var lines = []
|
||||
if (userLeftClickExec !== "") {
|
||||
lines.push(`Left click: ${userLeftClickExec}\n`)
|
||||
lines.push(`Left click: <i>${userLeftClickExec}</i>`)
|
||||
}
|
||||
if (userRightClickExec !== "") {
|
||||
lines.push(`Right click: ${userRightClickExec}\n`)
|
||||
lines.push(`Right click: <i>${userRightClickExec}</i>`)
|
||||
}
|
||||
if (userLeftClickExec !== "") {
|
||||
lines.push(`Middle click: ${userMiddleClickExec}\n`)
|
||||
lines.push(`Middle click: <i>${userMiddleClickExec}</i>`)
|
||||
}
|
||||
return lines.join("<br/>")
|
||||
}
|
||||
}
|
||||
opacity: hasExec ? Style.opacityFull : Style.opacityMedium
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue