fix icon fill
This commit is contained in:
parent
22b68c399e
commit
f2b941906d
@ -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
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user