mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:46:05 +08:00
Change font style for active material in preferences
CURA-5747
This commit is contained in:
parent
b412a259af
commit
51e7b6c388
@ -41,6 +41,15 @@ Rectangle
|
||||
anchors.left: swatch.right
|
||||
anchors.verticalCenter: materialSlot.verticalCenter
|
||||
anchors.leftMargin: UM.Theme.getSize("narrow_margin").width
|
||||
font.italic:
|
||||
{
|
||||
var selected_material = Cura.MachineManager.currentRootMaterialId[Cura.ExtruderManager.activeExtruderIndex]
|
||||
if(selected_material == material.root_material_id)
|
||||
{
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
}
|
||||
MouseArea
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user