diff --git a/qml/windowed/AppListView.qml b/qml/windowed/AppListView.qml index 6abdb036..4b975fa5 100644 --- a/qml/windowed/AppListView.qml +++ b/qml/windowed/AppListView.qml @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2023 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: GPL-3.0-or-later @@ -170,7 +170,7 @@ FocusScope { leftMargin: 10 rightMargin: 10 } - visible: !Drag.active + opacity: !Drag.active ? 1 : 0 text: model.display checkable: false icon.name: (iconName && iconName !== "") ? iconName : "application-x-desktop" diff --git a/qml/windowed/FreeSortListView.qml b/qml/windowed/FreeSortListView.qml index 93d9b35e..1e647d74 100644 --- a/qml/windowed/FreeSortListView.qml +++ b/qml/windowed/FreeSortListView.qml @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd. +// SPDX-FileCopyrightText: 2024 - 2026 UnionTech Software Technology Co., Ltd. // // SPDX-License-Identifier: GPL-3.0-or-later @@ -298,7 +298,7 @@ Item { ColorSelector.pressed: false property Palette textColor: DStyle.Style.button.text palette.windowText: ColorSelector.textColor - visible: !Drag.active && (typeof dndItem === "undefined" || dndItem.currentlyDraggedId !== model.desktopId) + opacity: !Drag.active && (typeof dndItem === "undefined" || dndItem.currentlyDraggedId !== model.desktopId) ? 1 : 0 ToolTip.text: text ToolTip.delay: 500