fix icon fill

This commit is contained in:
lucy 2026-02-01 01:24:57 +01:00
parent 22b68c399e
commit f2b941906d

View File

@ -3,14 +3,15 @@ import qs.settings
import qs
Text {
property real fill: 0
property bool fill: false
anchors.verticalCenter: parent.verticalCenter
font.family: "Material Symbols Rounded"
color: Colors.onSurfaceColor
font.pixelSize: Settings.config.fontSize + 4
font.variableAxes: ({
FILL: 1,
GRAD: 200,
opsz: 0,
wght: 700
FILL: fill,
GRAD: 100,
opsz: fill ? 48 : 20,
wght: 400
})
}