Skip to content

Commit

Permalink
fix: Update ui opacity after opening app group
Browse files Browse the repository at this point in the history
update the searchEdit and exitFullscreenBtn opacity after opening the app group

Issue: linuxdeepin/developer-center#10255
  • Loading branch information
xionglinlin authored and deepin-bot[bot] committed Aug 29, 2024
1 parent 7397779 commit 1bd7109
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions qml/FullscreenFrame.qml
Original file line number Diff line number Diff line change
Expand Up @@ -136,17 +136,14 @@ InputEventItem {
contentItem: Rectangle {
id: fullscreenHeader
implicitHeight: exitFullscreenBtn.height
opacity: folderGridViewPopup.visible ? 0.4 : 1
color: "transparent"

ToolButton {
id: exitFullscreenBtn

Accessible.name: "Exit fullscreen"

anchors.right: fullscreenHeader.right

ColorSelector.family: Palette.CrystalColor

icon.name: "launcher_exit_fullscreen"
onClicked: {
searchEdit.text = ""
Expand All @@ -157,7 +154,6 @@ InputEventItem {
PageIndicator {
id: indicator

opacity: folderGridViewPopup.visible ? 0.4 : 1
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
visible: listviewPage.visible
Expand Down Expand Up @@ -554,6 +550,7 @@ InputEventItem {

Layout.alignment: Qt.AlignHCenter
implicitWidth: (parent.width / 2) > 280 ? 280 : (parent.width / 2)
opacity: folderGridViewPopup.visible ? 0.4 : 1

property Palette iconPalette: Palette {
normal {
Expand Down

0 comments on commit 1bd7109

Please sign in to comment.