feat: complete mobile UI implementation
This commit is contained in:
@@ -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),
|
||||
"移动公会页签使用大触控目标")
|
||||
|
||||
Reference in New Issue
Block a user