mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-19 09:10:47 +08:00
Get the opacity of the extruder from the theme
CURA-8011
This commit is contained in:
parent
12b844b357
commit
0319fdcc41
@ -21,7 +21,7 @@ Item
|
|||||||
|
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
opacity: extruderEnabled ? 1 : 0.4
|
opacity: extruderEnabled ? 1 : UM.Theme.getColor("extruder_disabled").a
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
UM.RecolorImage
|
UM.RecolorImage
|
||||||
|
@ -62,7 +62,7 @@ Cura.ExpandablePopup
|
|||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
opacity: model.enabled ? 1 : 0.4
|
opacity: model.enabled ? 1 : UM.Theme.getColor("extruder_disabled").a
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
left: extruderIcon.right
|
left: extruderIcon.right
|
||||||
|
@ -270,6 +270,7 @@
|
|||||||
"button_tooltip_text": [192, 193, 194, 255],
|
"button_tooltip_text": [192, 193, 194, 255],
|
||||||
|
|
||||||
"extruder_button_material_border": [255, 255, 255, 255],
|
"extruder_button_material_border": [255, 255, 255, 255],
|
||||||
|
"extruder_disabled": [255, 255, 255, 102],
|
||||||
|
|
||||||
"rating_star": [90, 90, 90, 255],
|
"rating_star": [90, 90, 90, 255],
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user