Skip to content

Commit

Permalink
fix: the fullscreen launcher indicator is not aligned
Browse files Browse the repository at this point in the history
Fix the alignment of the launcher indicator

Issue: linuxdeepin/developer-center#9993
  • Loading branch information
xionglinlin committed Aug 23, 2024
1 parent cc83136 commit 07c1a2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qml/FullscreenFrame.qml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ InputEventItem {

leftPadding: 20
rightPadding: 20
topPadding: 10

contentItem: Rectangle {
id: fullscreenHeader
Expand Down Expand Up @@ -160,14 +159,15 @@ InputEventItem {

opacity: folderGridViewPopup.visible ? 0.4 : 1
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
visible: listviewPage.visible
count: searchResultGridViewContainer.visible ? 1 : listviewPage.count
currentIndex: searchResultGridViewContainer.visible ? 1 : listviewPage.currentIndex
interactive: true
spacing: 10
delegate: Rectangle {
width: 10
height: 10
width: 8
height: 8

radius: width / 2
color: Qt.rgba(255, 255, 255, index === indicator.currentIndex ? 0.9 : pressed ? 0.5 : 0.2)
Expand Down

0 comments on commit 07c1a2f

Please sign in to comment.