feat(ui): 立体档位设置按钮——D 区 AP 条右键组「立体:X」常驻显示当前档、点击循环(F9 同效同标签联动);ApBarView/BoardZoneView 信号转发+main 组合根共享 _cycle_depth_tier(用户反馈「不知道当前对应哪个档」2026-09-24,台账 154)

This commit is contained in:
DKChan committed 2026-09-24 14:43:19 +08:00
1 parent d333a15c35
commit 9b35cf8c4b
3 files changed
+34 -5

No files matched your search

@@ -16,6 +16,7 @@ signal action_requested(cell: Vector2i, kind: String)
signal stop_pressed
signal refresh_confirmed
signal legend_toggled
signal depth_cycle_requested # 立体原型批 2026-09-24——档位循环按钮转发(原型临时件)
signal hover_forbidden(cell: Vector2i)
signal chord_attempted(cell: Vector2i)
@@ -46,3 +47,9 @@ func _init() -> void:
ap_bar.stop_pressed.connect(func(): stop_pressed.emit())
ap_bar.refresh_confirmed.connect(func(): refresh_confirmed.emit())
ap_bar.legend_toggled.connect(func(): legend_toggled.emit())
ap_bar.depth_cycle_requested.connect(func(): depth_cycle_requested.emit())
# 立体档标签回写(main 组合根切档后调用——按钮文字即常驻档位指示器)
func set_depth_label(tier_short: String) -> void:
ap_bar.set_depth_label(tier_short)