Skip to content

Commit

Permalink
fix: menu item is still hovered after mouse is moved out
Browse files Browse the repository at this point in the history
  • Loading branch information
zsien authored and yixinshark committed Aug 13, 2024
1 parent 8fadeb2 commit e2f5754
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qml/windowed/AppListView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ FocusScope {
onTriggered: {
scrollToDDECategory(modelData)
}
onHoveredChanged: {
highlighted = hovered
}
contentItem: IconLabel {
alignment: Qt.AlignCenter
text: menuItem.text
Expand Down

0 comments on commit e2f5754

Please sign in to comment.