Files
mtgodot-poc/project/ui/quiet_panel.gd
T

10 lines
436 B
GDScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# QuietPanel —— 拦截 Godot 4 引擎内置 Tooltip 弹窗。
#
# 防止引擎在悬停或点击时自动弹出原生简陋的灰色 TooltipPanel
# 确保所有装备与道具均由 40250 官方规范的 ItemTooltipView (ThinBoard) 独占呈现。
# 同时完整保留 Control.tooltip_text 字符串供测试校验及移动端详情模态窗复用。
extends Panel
func _get_tooltip(_at_position: Vector2) -> String:
return ""