feat(properties): show entity handle in the General section

Adds a read-only Handle row at the top of the properties palette so an
entity can be identified by handle (e.g. when cross-referencing a file
dump or reporting a specific object).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 4.8 committed 2026-06-19 01:52:02 +03:00
1 parent 25c347f9b0
commit c6b3975fd4
1 file changed
+5
+5
View File
@@ -14,6 +14,11 @@ pub fn general_section(entity: &EntityType) -> PropSection {
PropSection {
title: "General".into(),
props: vec![
Property {
label: "Handle".into(),
field: "handle",
value: PropValue::ReadOnly(common.handle.value().to_string()),
},
Property {
label: "Layer".into(),
field: "layer",