docs: CR-4 — deps panel->0.4.0/composition->0.3.0, init-Header v0.1.1, dead helper entfernt

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Calic
2026-06-16 14:32:37 +00:00
parent a03f6e06f5
commit c0066830ea
2 changed files with 2 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
-- =====================================================================
-- lib-core.inventory-list-display v0.1.0 — Inventory vertical-list widget
-- lib-core.inventory-list-display v0.1.1 — Inventory vertical-list widget
--
-- Sits on top of lib-core.panel and reads lib-core.inventory-list +
-- lib-core.composition. Provides a ready-to-register panel widget that
@@ -49,16 +49,6 @@ local inventory = require("lib-core.inventory-list")
local M = {}
-- -----------------------------------------------------------------------
-- entity_id workaround helper
-- get_children() returns fresh userdata wrappers per call; engine entities
-- have no __eq metamethod. Use composition.reg_id as stable identity.
-- Mirrors the same pattern used in inventory-list/init.lua.
-- -----------------------------------------------------------------------
local function entity_id(e)
return e:get_property("composition.reg_id")
end
-- -----------------------------------------------------------------------
-- Default resolvers
-- -----------------------------------------------------------------------