MCPcopy Create free account
hub / github.com/PerroEngine/Perro / take_inspector_layout_pass

Function take_inspector_layout_pass

perro_editor/res/scripts/ui/editor_ui.rs:877–887  ·  view source on GitHub ↗
(ctx: &mut ScriptContext<'_, API>)

Source from the content-addressed store, hash-verified

875 ctx,
876 &label_name,
877 view.inspector.node_actions
878 && row.is_some_and(|item| item.components.get(component).is_some())
879 && row.is_none_or(|item| !item.kind.starts_with("Matrix("))
880 && row.is_none_or(|item| item.kind != "Color")
881 && !vars_closed,
882 );
883 set_text_box_interactive(
884 ctx,
885 &box_name,
886 view.inspector.node_actions
887 && row.is_some_and(|item| item.components.get(component).is_some())
888 && row.is_none_or(|item| !item.kind.starts_with("Matrix("))
889 && row.is_none_or(|item| item.kind != "Color")
890 && !vars_closed,

Callers 1

refresh_inspector_viewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected