fix(ui): suppress native Godot tooltips to eliminate duplicate attribute panels

This commit is contained in:
shen
2026-09-19 20:01:57 -07:00
parent 0dafa9f5ff
commit 3eb001a1fd
4 changed files with 25 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
# QuietPanel —— 拦截 Godot 4 引擎内置 Tooltip 弹窗。
#
# 防止引擎在悬停或点击时自动弹出原生简陋的灰色 TooltipPanel
# 确保所有装备与道具均由 40250 官方规范的 ItemTooltipView (ThinBoard) 独占呈现。
# 同时完整保留 Control.tooltip_text 字符串供测试校验及移动端详情模态窗复用。
extends Panel
func _get_tooltip(_at_position: Vector2) -> String:
return ""