fix: 装备属性面板避让逻辑 + 多项功能更新
- item_tooltip_view.gd: 新增 avoid_rect 属性,tooltip 与装备窗口重叠时自动推到左侧 - inventory_ui.gd: 悬停装备时传入窗口矩形作为避让区域 - 包含其他累积的功能开发和测试文件
This commit is contained in:
@@ -31,7 +31,11 @@ func setup(m2client: Node = null) -> void:
|
||||
func _on_phase(phase: String) -> void:
|
||||
if phase.to_lower() == "loading":
|
||||
show_for(String(HINTS.get("loading", "载入地图…")))
|
||||
elif phase.to_lower() in ["login", "select"]:
|
||||
else:
|
||||
# ClientVS22 owns the full-screen load window only in
|
||||
# SetLoadingPhase(). SetLoginPhase(), SetSelectPhase() and
|
||||
# SetGamePhase() all return control to their phase window; keeping the
|
||||
# mask for GAME would leave an invisible input blocker over the world.
|
||||
hide_screen()
|
||||
|
||||
func show_for(text: String) -> void:
|
||||
|
||||
Reference in New Issue
Block a user