diff --git a/src/scene/cache/properties.rs b/src/scene/cache/properties.rs index 5e7293819..59ff13d46 100644 --- a/src/scene/cache/properties.rs +++ b/src/scene/cache/properties.rs @@ -31,16 +31,16 @@ pub fn general_section(entity: &EntityType) -> PropSection { field: "handle", value: PropValue::ReadOnly(common.handle.value().to_string()), }, - Property { - label: "Layer".into(), - field: "layer", - value: PropValue::LayerChoice(common.layer.clone()), - }, Property { label: "Color".into(), field: "color", value: PropValue::ColorChoice(common.color), }, + Property { + label: "Layer".into(), + field: "layer", + value: PropValue::LayerChoice(common.layer.clone()), + }, Property { label: "Linetype".into(), field: "linetype", @@ -90,15 +90,6 @@ pub fn general_section(entity: &EntityType) -> PropSection { .push(crate::entities::common::edit_prop("Thickness", "thickness", t)); } - section.props.push(Property { - label: "Invisible".into(), - field: "invisible", - value: PropValue::BoolToggle { - field: "invisible", - value: common.invisible, - }, - }); - section }