Skip to content

Commit d8fc19a

Browse files
committed
fix: Apply the list module text color and hover effect adjustments
update when hovered, app palette from 70% to 100% pms-bug-314399
1 parent efdaaef commit d8fc19a

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

qml/windowed/AppListView.qml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,10 @@ FocusScope {
239239
z: 1
240240
}
241241
font: DTK.fontManager.t8
242-
palette.windowText: ListView.view.palette.brightText
242+
palette.windowText: hovered ? parent.palette.brightText :
243+
Qt.rgba(parent.palette.brightText.r,
244+
parent.palette.brightText.g,
245+
parent.palette.brightText.b, 0.7)
243246
ToolTip.text: text
244247
ToolTip.delay: 500
245248
ToolTip.visible: hovered && contentItem.implicitWidth > contentItem.width

qml/windowed/FreeSortListView.qml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,10 @@ Item {
260260
rightMargin: 10
261261
}
262262
font: DTK.fontManager.t8
263-
palette.windowText: parent.palette.brightText
263+
palette.windowText: hovered ? parent.palette.brightText :
264+
Qt.rgba(parent.palette.brightText.r,
265+
parent.palette.brightText.g,
266+
parent.palette.brightText.b, 0.7)
264267
visible: !Drag.active
265268

266269
ToolTip.text: text

0 commit comments

Comments
 (0)