From c6308f448a164e83c52ffab0602fd4487b46e974 Mon Sep 17 00:00:00 2001 From: ck Date: Thu, 30 May 2024 14:42:52 +0800 Subject: [PATCH] fix: folder popup selectionColor not highlight MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 虽然设置了选中高亮色,但是 dtk 的 PopUp 模糊效果 会导致颜色失效( background:null 验证 ),待 dtk 修复即可。 Issue: https://github.com/linuxdeepin/developer-center/issues/8802 --- qml/FolderGridViewPopup.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qml/FolderGridViewPopup.qml b/qml/FolderGridViewPopup.qml index d7403f93..88a5bd60 100644 --- a/qml/FolderGridViewPopup.qml +++ b/qml/FolderGridViewPopup.qml @@ -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 {