iter16ui T7:P6甲缩放纪律落码(状态九枚常规档24→32px=1×·mini16维持;柜台四枚64源20→32px=0.5×;BCard图标槽56→40px=2×;地图头像定高48宽随源比46×48纵横异倍消除;手绘十枚20/40双档消费点核查=全部1×无需动)+P10乙记忆态换装「地板纹理+灰罩α.66」(FOG_MEMORY_PLATE平涂退役;记忆墨对合成底6.71:1≥4.5实测复算)+art-bible §8.2显示档例外登记+§6.5记忆态条款换代双侧落文;轻闸冒烟782/0+三探针绿;board_shot系窗口化探针归T10人闸

This commit is contained in:
DKChan committed 2026-10-06 03:45:54 +08:00
1 parent e0fd7cb8d7
commit 1b2ecf6400
6 files changed
+20 -8

No files matched your search

+6 -1
View File
@@ -130,9 +130,14 @@ func _init() -> void:
bottom.add_child(strip)
var face := TextureRect.new()
var face_tex := UiKit.load_tex(UiKit.TEX_HERO_PORTRAIT)
# P6 甲⑤(2026-10-06):定高 48px=1×、宽随源图比自适应(源 46×48 → 46×48;纵横异倍消除)
var face_h := 48.0
var face_w := face_h
if face_tex != null:
face.texture = face_tex
face.custom_minimum_size = Vector2(50, 52)
if face_tex.get_height() > 0:
face_w = floorf(face_h * face_tex.get_width() / float(face_tex.get_height()))
face.custom_minimum_size = Vector2(face_w, face_h)
face.expand_mode = TextureRect.EXPAND_IGNORE_SIZE
face.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED
face.texture_filter = CanvasItem.TEXTURE_FILTER_NEAREST