fix(review-batch2): 视图信号可审计性+封装收口——生产24处lambda转命名方法含bind两处(P1-3)+recent_summaries/hero_effects值拷贝出户(P2-3);生产lambda审计归零(83→59全smoke),冒烟576/0同基线
This commit is contained in:
1 parent
463baac08e
commit
f5edb65d25
13 files changed
+127
-31
No files matched your search
@@ -27,7 +27,7 @@ func _init() -> void:
|
||||
_label.horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER
|
||||
box.add_child(_label)
|
||||
_btn = UiKit.button("继续")
|
||||
_btn.pressed.connect(func(): continue_pressed.emit())
|
||||
_btn.pressed.connect(_emit_continue_pressed)
|
||||
box.add_child(_btn)
|
||||
visible = false
|
||||
|
||||
@@ -49,3 +49,7 @@ func show_rest(healed: int, hp_after: int, max_hp: int) -> void:
|
||||
# 探针复用:以真实按钮路径触发继续
|
||||
func press_continue() -> void:
|
||||
_btn.pressed.emit()
|
||||
|
||||
|
||||
func _emit_continue_pressed() -> void:
|
||||
continue_pressed.emit()
|
||||
Reference in new issue
Block a user