Skip to content

Commit

Permalink
Fixed #242 - Disabled menuitems opacity is doubled in MenuBar, Tiered…
Browse files Browse the repository at this point in the history
…Menu and ContextMenu
  • Loading branch information
cagataycivici committed Mar 17, 2020
1 parent ecdad6c commit deb9861
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/components/contextmenu/ContextMenuSub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
},
Expand Down
3 changes: 1 addition & 2 deletions src/components/menubar/MenubarSub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
},
Expand Down
3 changes: 1 addition & 2 deletions src/components/tieredmenu/TieredMenuSub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
]
},
Expand Down

0 comments on commit deb9861

Please sign in to comment.