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

Function inspector_node_ref_label

perro_editor/res/scripts/ui/editor_ui.rs:2410–2418  ·  view source on GitHub ↗
(value: &str)

Source from the content-addressed store, hash-verified

2408 if row.depth == 0 {
2409 UiTextAlign::Center
2410 } else {
2411 UiTextAlign::Start
2412 },
2413 );
2414 }
2415 if row.kind == "EmptyArrayAdd" || row.kind == "EmptyObject" {
2416 set_label_color(ctx, &name_label, theme::TEXT_FAINT);
2417 } else if row.source == "section" && row.depth == 0 {
2418 set_label_color(ctx, &name_label, theme::TEXT);
2419 } else if changed {
2420 // Godot renders overridden properties with a brighter label.
2421 set_label_color(ctx, &name_label, theme::TEXT);

Callers 1

scene_value_edit_textFunction · 0.85

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected