Mark models that are outside the buildarea in the objectlist

This commit is contained in:
fieldOfView 2020-04-09 10:53:43 +02:00
parent 7a11a183a8
commit d1c79a3af2
2 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ Button
text: objectItemButton.text
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text_scene")
opacity: (outsideBuildArea) ? 0.5 : 1.0
visible: text != ""
renderType: Text.NativeRendering
verticalAlignment: Text.AlignVCenter

View File

@ -120,6 +120,7 @@ Item
}
text: model.name
width: listView.width
property bool outsideBuildArea: model.outside_build_area
}
}
}