mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-23 19:01:05 -07:00
Get the opacity of the extruder from the theme
CURA-8011
This commit is contained in:
parent
12b844b357
commit
0319fdcc41
3 changed files with 3 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ Item
|
|||
|
||||
Item
|
||||
{
|
||||
opacity: extruderEnabled ? 1 : 0.4
|
||||
opacity: extruderEnabled ? 1 : UM.Theme.getColor("extruder_disabled").a
|
||||
anchors.fill: parent
|
||||
|
||||
UM.RecolorImage
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ Cura.ExpandablePopup
|
|||
Item
|
||||
{
|
||||
height: childrenRect.height
|
||||
opacity: model.enabled ? 1 : 0.4
|
||||
opacity: model.enabled ? 1 : UM.Theme.getColor("extruder_disabled").a
|
||||
anchors
|
||||
{
|
||||
left: extruderIcon.right
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue