fix: 装备属性面板避让逻辑 + 多项功能更新
- item_tooltip_view.gd: 新增 avoid_rect 属性,tooltip 与装备窗口重叠时自动推到左侧 - inventory_ui.gd: 悬停装备时传入窗口矩形作为避让区域 - 包含其他累积的功能开发和测试文件
This commit is contained in:
@@ -55,6 +55,9 @@ func _run() -> void:
|
||||
_ck(atlas._map != null and atlas._map.size == Vector2(256, 256), "atlas builds map texture")
|
||||
_ck(String(atlas._coord.text).contains("X 12800") and String(atlas._coord.text).contains("Y 25600"),
|
||||
"atlas reports player server-centimetre coordinates")
|
||||
atlas.add_signal_point(6400, 12800)
|
||||
_ck(atlas.signal_point_count() == 1 and atlas._signal_points[0] == Vector2(6400, 12800),
|
||||
"quest ADDMAPSIGNAL is retained as an Atlas waypoint")
|
||||
atlas._overlay.queue_redraw()
|
||||
_ck(atlas._overlay.is_inside_tree(), "atlas world marker overlay is live")
|
||||
var old_pos: Vector2 = atlas._map.position
|
||||
@@ -120,5 +123,7 @@ func _run() -> void:
|
||||
reset.pressed = true
|
||||
atlas._on_map_input(reset)
|
||||
_ck(atlas._map.position == atlas._map_origin, "atlas right click recenters map")
|
||||
atlas.clear_signal_points()
|
||||
_ck(atlas.signal_point_count() == 0, "quest signal clear removes Atlas waypoints")
|
||||
atlas.close()
|
||||
_ck(not atlas.is_open(), "atlas closes")
|
||||
|
||||
Reference in New Issue
Block a user