Merge branch 'main' of https://github.com/noctalia-dev/noctalia-shell
This commit is contained in:
commit
4f731b67d1
3 changed files with 5 additions and 3 deletions
|
|
@ -38,6 +38,8 @@ NIconButton {
|
|||
readonly property string middleClickExec: widgetSettings.middleClickExec || widgetMetadata.middleClickExec
|
||||
readonly property bool hasExec: (leftClickExec || rightClickExec || middleClickExec)
|
||||
|
||||
enabled: hasExec
|
||||
allowClickWhenDisabled: true // we want to be able to open config with left click when its not setup properly
|
||||
colorBorder: Color.transparent
|
||||
colorBorderHover: Color.transparent
|
||||
sizeRatio: 0.8
|
||||
|
|
@ -59,7 +61,6 @@ NIconButton {
|
|||
return lines.join("<br/>")
|
||||
}
|
||||
}
|
||||
opacity: hasExec ? Style.opacityFull : Style.opacityMedium
|
||||
|
||||
onClicked: {
|
||||
if (leftClickExec) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue