Fixed #242 - Disabled menuitems opacity is doubled in MenuBar, TieredMenu and ContextMenu

pull/256/head
cagataycivici 2020-03-17 11:43:27 +03:00
parent ecdad6c820
commit deb9861196
3 changed files with 3 additions and 6 deletions

View File

@ -110,8 +110,7 @@ export default {
getItemClass(item) {
return [
'p-menuitem', item.class, {
'p-menuitem-active': this.activeItem === item,
'p-disabled': item.disabled,
'p-menuitem-active': this.activeItem === item
}
]
},

View File

@ -235,8 +235,7 @@ export default {
getItemClass(item) {
return [
'p-menuitem', item.class, {
'p-menuitem-active': this.activeItem === item,
'p-disabled': item.disabled,
'p-menuitem-active': this.activeItem === item
}
]
},

View File

@ -186,8 +186,7 @@ export default {
getItemClass(item) {
return [
'p-menuitem', item.class, {
'p-menuitem-active': this.activeItem === item,
'p-disabled': item.disabled,
'p-menuitem-active': this.activeItem === item
}
]
},