fix: remove warning unqualified access

This commit is contained in:
Madjid Taha
2025-11-04 17:51:16 +01:00
parent 80275c5adf
commit a28945f3ec
@@ -11,7 +11,7 @@ Rectangle {
property real extraBottomBorderWidth: 2
property color borderColor: Appearance.colors.colOnLayer0
property real borderRadius: 5
property int pixelSize: Appearance.font.pixelSize.smaller
property real pixelSize: Appearance.font.pixelSize.smaller
property color keyColor: Appearance.m3colors.m3surfaceContainerLow
implicitWidth: keyFace.implicitWidth + borderWidth * 2
implicitHeight: keyFace.implicitHeight + borderWidth * 2 + extraBottomBorderWidth
@@ -36,7 +36,7 @@ Rectangle {
id: keyText
anchors.centerIn: parent
font.family: Appearance.font.family.monospace
font.pixelSize: pixelSize
font.pixelSize: root.pixelSize
text: key
}
}