Skip to content

Commit

Permalink
fix: folder popup selectionColor not highlight
Browse files Browse the repository at this point in the history
虽然设置了选中高亮色,但是 dtk 的 PopUp 模糊效果
会导致颜色失效( background:null 验证 ),待 dtk 修复即可。

Issue: linuxdeepin/developer-center#8802
  • Loading branch information
kegechen committed Jun 13, 2024
1 parent 1b943a8 commit c6308f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qml/FolderGridViewPopup.qml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ Popup {
folderNameText.text = text
}

selectionColor: "#66FFFFFF"
// TODO: selectionColor will work after dtkdeclarative fix background blur isssues
selectionColor: palette.highlight
selectedTextColor: isWindowedMode ? "black" : "white"
}
Text {
Expand Down

0 comments on commit c6308f4

Please sign in to comment.