feat: complete mobile UI implementation

This commit is contained in:
shenlei
2026-09-04 19:54:33 +09:00
parent 9a4a044da5
commit b19d5b5dd3
132 changed files with 6643 additions and 180 deletions
+10
View File
@@ -139,3 +139,13 @@ func _run() -> void:
b.pressed.emit()
break
_ck(fc.calls[-1] == ["delete_comment", 9], "公告页:删除")
# 移动端公会页使用横屏高触控密度布局,四页业务仍是同一套控制器。
gu.close()
gu.set_mobile_mode(true)
gu.toggle()
_ck(gu.is_open() and gu._root.size == Vector2(700, 340),
"移动公会窗使用横屏基准尺寸")
_ck(gu._scroll.size == Vector2(664, 194), "移动公会窗内容区避开导航栏")
_ck(gu._tab_btns[0].custom_minimum_size == Vector2(160, 38),
"移动公会页签使用大触控目标")