cc: remove border in edit mode

This commit is contained in:
bbedward
2026-10-12 15:50:50 -04:00
parent 14de920cd2
commit d041ffccb0
2 changed files with 0 additions and 22 deletions
@@ -63,8 +63,6 @@ Singleton {
readonly property real editOverflow: Math.max(PopoutMetrics.editOverflow * 2, editActionsHeight)
// The island clips its faces, so its actions sit inside the sheet.
readonly property real islandEditRoom: editActionsHeight + Theme.spacingS
readonly property real dropZoneOuterInset: Theme.spacingS
readonly property real dropZoneRadius: Theme.cornerRadiusL
readonly property real runningAppsIconSize: Theme.iconSize * iconScale
// The resize corner counts a small tile as this many rows and snaps to the nearer of this and a full row.
readonly property real smallRowFraction: 0.5
@@ -442,26 +442,6 @@ FocusScope {
height: Math.max(root.gridHeight, root.heldGridHeight)
opacity: CcMetrics.hideCoveredContent ? 1 - root.coveredAmount : 1
Rectangle {
readonly property bool receiving: widgetGrid.externalItem !== null || (widgetGrid.draggingSourceIndex >= 0 && !widgetGrid.heldOutside)
anchors.fill: parent
anchors.margins: -CcMetrics.dropZoneOuterInset
radius: CcMetrics.dropZoneRadius
color: "transparent"
border.width: Theme.outlineWidth
border.color: receiving ? Theme.primary : Theme.outlineVariant
visible: root.host.editMode
Behavior on border.color {
enabled: CcMetrics.animationsEnabled
ColorAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
}
}
CcTileGrid {
id: widgetGrid
columns: root.gridColumns