Use Color.transparent instead of "transparent"

This commit is contained in:
ItsLemmy
2025-09-28 21:17:10 -04:00
parent e23cb90c5b
commit c35f37c7d7
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -358,4 +358,4 @@ Item {
}
}
}
}
}
+1 -1
View File
@@ -385,4 +385,4 @@ Item {
}
}
}
}
}
+1 -1
View File
@@ -60,7 +60,7 @@ Rectangle {
color: taskbarItem.isActive ? Color.mPrimary : root.color
border.width: 0
radius: Math.round(Style.radiusXS * root.scaling)
border.color: "transparent"
border.color: Color.transparent
z: -1
IconImage {
+1 -1
View File
@@ -162,7 +162,7 @@ Variants {
anchors.left: parent.left
anchors.right: parent.right
height: 2 * scaling
color: "transparent"
color: Color.transparent
property real availableWidth: parent.width - (2 * parent.radius)
+1 -1
View File
@@ -541,4 +541,4 @@ Variants {
}
}
}
}
}
+1 -1
View File
@@ -28,7 +28,7 @@ Singleton {
PanelWindow {
implicitHeight: 1
implicitWidth: 1
color: "transparent"
color: Color.transparent
mask: Region {}
Image {
+1 -1
View File
@@ -112,7 +112,7 @@ Popup {
height: grid.cellHeight
radius: Style.radiusS * scaling
clip: true
color: (root.selectedIcon === modelData) ? Qt.alpha(Color.mPrimary, 0.15) : "transparent"
color: (root.selectedIcon === modelData) ? Qt.alpha(Color.mPrimary, 0.15) : Color.transparent
border.color: (root.selectedIcon === modelData) ? Color.mPrimary : Qt.rgba(0, 0, 0, 0)
border.width: (root.selectedIcon === modelData) ? Style.borderS * scaling : 0
+1 -1
View File
@@ -66,7 +66,7 @@ Rectangle {
Rectangle {
id: background
anchors.fill: parent
color: "transparent"
color: Color.transparent
z: -1
}
}