forked from Shinonome/dots-hyprland
fix: remove warning unqualified access
This commit is contained in:
@@ -11,7 +11,7 @@ Rectangle {
|
|||||||
property real extraBottomBorderWidth: 2
|
property real extraBottomBorderWidth: 2
|
||||||
property color borderColor: Appearance.colors.colOnLayer0
|
property color borderColor: Appearance.colors.colOnLayer0
|
||||||
property real borderRadius: 5
|
property real borderRadius: 5
|
||||||
property int pixelSize: Appearance.font.pixelSize.smaller
|
property real pixelSize: Appearance.font.pixelSize.smaller
|
||||||
property color keyColor: Appearance.m3colors.m3surfaceContainerLow
|
property color keyColor: Appearance.m3colors.m3surfaceContainerLow
|
||||||
implicitWidth: keyFace.implicitWidth + borderWidth * 2
|
implicitWidth: keyFace.implicitWidth + borderWidth * 2
|
||||||
implicitHeight: keyFace.implicitHeight + borderWidth * 2 + extraBottomBorderWidth
|
implicitHeight: keyFace.implicitHeight + borderWidth * 2 + extraBottomBorderWidth
|
||||||
@@ -36,7 +36,7 @@ Rectangle {
|
|||||||
id: keyText
|
id: keyText
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
font.family: Appearance.font.family.monospace
|
font.family: Appearance.font.family.monospace
|
||||||
font.pixelSize: pixelSize
|
font.pixelSize: root.pixelSize
|
||||||
text: key
|
text: key
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user