mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 08:29:03 +08:00
Mark models that are outside the buildarea in the objectlist
This commit is contained in:
parent
7a11a183a8
commit
d1c79a3af2
@ -35,6 +35,7 @@ Button
|
|||||||
text: objectItemButton.text
|
text: objectItemButton.text
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
color: UM.Theme.getColor("text_scene")
|
color: UM.Theme.getColor("text_scene")
|
||||||
|
opacity: (outsideBuildArea) ? 0.5 : 1.0
|
||||||
visible: text != ""
|
visible: text != ""
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
@ -120,6 +120,7 @@ Item
|
|||||||
}
|
}
|
||||||
text: model.name
|
text: model.name
|
||||||
width: listView.width
|
width: listView.width
|
||||||
|
property bool outsideBuildArea: model.outside_build_area
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user