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