mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-18 09:14:01 -04:00
cc: remove border in edit mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user