forked from Shinonome/dots-hyprland
material symbol: use curverendering
This commit is contained in:
@@ -7,11 +7,13 @@ Text {
|
|||||||
property real iconSize: Appearance?.font.pixelSize.small ?? 16
|
property real iconSize: Appearance?.font.pixelSize.small ?? 16
|
||||||
property real fill: 0
|
property real fill: 0
|
||||||
property real truncatedFill: Math.round(fill * 100) / 100 // Reduce memory consumption spikes from constant font remapping
|
property real truncatedFill: Math.round(fill * 100) / 100 // Reduce memory consumption spikes from constant font remapping
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.CurveRendering
|
||||||
font.hintingPreference: Font.PreferFullHinting
|
font {
|
||||||
|
hintingPreference: Font.PreferFullHinting
|
||||||
|
family: Appearance?.font.family.iconMaterial ?? "Material Symbols Rounded"
|
||||||
|
pixelSize: iconSize
|
||||||
|
}
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.family: Appearance?.font.family.iconMaterial ?? "Material Symbols Rounded"
|
|
||||||
font.pixelSize: iconSize
|
|
||||||
color: Appearance.m3colors.m3onBackground
|
color: Appearance.m3colors.m3onBackground
|
||||||
|
|
||||||
Behavior on fill {
|
Behavior on fill {
|
||||||
|
|||||||
Reference in New Issue
Block a user