fix: 装备属性面板避让逻辑 + 多项功能更新

- item_tooltip_view.gd: 新增 avoid_rect 属性,tooltip 与装备窗口重叠时自动推到左侧
- inventory_ui.gd: 悬停装备时传入窗口矩形作为避让区域
- 包含其他累积的功能开发和测试文件
This commit is contained in:
shen
2026-09-21 16:38:59 -07:00
parent 1522a8a1a1
commit c93894313a
5498 changed files with 4558004 additions and 1442 deletions
+6
View File
@@ -70,6 +70,12 @@ func _resolve_uncached(name: String) -> String:
if assets_root == "":
return ""
var rel := name.replace("\\", "/")
# FlyData resolves sibling AttachFile/BombEffect paths to absolute files.
# EffectRegistry must accept those resolved paths directly; otherwise the
# second path_join below prefixes assets_root a second time and silently
# drops the 40250 effect.
if rel.begins_with("/") and FileAccess.file_exists(rel):
return rel
if rel.length() >= 2 and rel[1] == ":":
rel = rel.substr(2)
rel = rel.lstrip("/")