Corners: removed all but the screen corners

- renamed Corners to Corner as it create only a single corner
This commit is contained in:
quadbyte 2025-08-07 14:26:43 -04:00
parent ef7e187301
commit 4f4c22baf9
7 changed files with 6 additions and 140 deletions

View file

@ -140,31 +140,6 @@ PanelWindow {
maximumLineCount: 1
}
Loader {
active: Settings.settings.showCorners
anchors.top: parent.top
sourceComponent: Item {
Corners {
id: activeCornerRight
position: "bottomleft"
size: 1.1
fillColor: Theme.backgroundPrimary
anchors.top: parent.top
offsetX: activeWindowTitleContainer.width - 34
offsetY: -1
}
Corners {
id: activeCornerLeft
position: "bottomright"
size: 1.1
fillColor: Theme.backgroundPrimary
anchors.top: parent.top
offsetX: 34
offsetY: -1
}
}
}
}
}

View file

@ -830,34 +830,6 @@ PanelWithOverlay {
}
}
}
Loader {
active: Settings.settings.showCorners
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
sourceComponent: Item {
Corners {
id: launcherCornerRight
position: "bottomleft"
size: 1.1
fillColor: Theme.backgroundPrimary
anchors.top: parent.top
offsetX: 427
offsetY: 0
}
Corners {
id: launcherCornerLeft
position: "bottomright"
size: 1.1
fillColor: Theme.backgroundPrimary
anchors.top: parent.top
offsetX: -427
offsetY: 0
}
}
}
}
}
}