Skip to content

Commit

Permalink
Rename mouseArea to pressArea to be consistent with all other references
Browse files Browse the repository at this point in the history
Part of #1818
  • Loading branch information
MikeTrahearn-Qinetic committed Jan 22, 2025
1 parent eed4b6e commit 4cdac9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pages/battery/BatteryListPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ Page {
Layout.rightMargin: Theme.geometry_listItem_content_horizontalMargin
source: "qrc:/images/icon_arrow_32.svg"
rotation: 180
color: mouseArea.containsPress ? Theme.color_listItem_down_forwardIcon : Theme.color_listItem_forwardIcon
opacity: mouseArea.enabled ? 1 : 0
color: pressArea.containsPress ? Theme.color_listItem_down_forwardIcon : Theme.color_listItem_forwardIcon
opacity: pressArea.enabled ? 1 : 0
}
}

ListPressArea {
id: mouseArea
id: pressArea

radius: parent.radius
anchors.fill: parent
Expand Down
6 changes: 3 additions & 3 deletions pages/settings/PageSettingsBatteries.qml
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,13 @@ Page {
Layout.rightMargin: Theme.geometry_listItem_content_horizontalMargin
source: "qrc:/images/icon_arrow_32.svg"
rotation: 180
color: mouseArea.containsPress ? Theme.color_listItem_down_forwardIcon : Theme.color_listItem_forwardIcon
opacity: mouseArea.enabled ? 1 : 0
color: pressArea.containsPress ? Theme.color_listItem_down_forwardIcon : Theme.color_listItem_forwardIcon
opacity: pressArea.enabled ? 1 : 0
}
}

ListPressArea {
id: mouseArea
id: pressArea

radius: parent.radius
anchors.fill: parent
Expand Down

0 comments on commit 4cdac9f

Please sign in to comment.