营地场景重排接线(探针修): 层节点 TextureRect 加 expand_mode=EXPAND_IGNORE_SIZE——默认 KEEP_SIZE 把节点最小高顶在贴图原高 211,门扇 138 高矩形不生效(ui_struct_probe V1 抓到);卡片补该改动行与 T1 步骤;补实现报告与反哺点清单。凭据: ui_struct_probe PASS(全屏结构断言零红)、营地单测 exit=0、冒烟 PASS
This commit is contained in:
1 parent
54f9f23342
commit
912a44541f
4 files changed
+39
No files matched your search
@@ -133,6 +133,7 @@ func _build_layer_node(spec: CampSceneLayerSpec) -> Control:
|
||||
if tex != null:
|
||||
var tr := TextureRect.new()
|
||||
tr.texture = tex
|
||||
tr.expand_mode = TextureRect.EXPAND_IGNORE_SIZE # 允许节点小于贴图原尺寸(门扇 240×211→矩形 138 高)
|
||||
tr.stretch_mode = TextureRect.STRETCH_SCALE
|
||||
node = tr
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user