fix(ui): suppress native Godot tooltips to eliminate duplicate attribute panels
This commit is contained in:
@@ -15,6 +15,7 @@ extends Node
|
||||
const CursorManager = preload("res://ui/cursor_manager.gd")
|
||||
const ItemTooltip = preload("res://ui/item_tooltip.gd")
|
||||
const ItemTooltipView = preload("res://ui/item_tooltip_view.gd")
|
||||
const QuietButton = preload("res://ui/quiet_button.gd")
|
||||
const UiAssets = preload("res://ui/ui_assets.gd")
|
||||
const UiKit = preload("res://ui_kit.gd")
|
||||
const UiBuild = preload("res://ui/ui_build.gd")
|
||||
@@ -377,7 +378,7 @@ func _refresh_mobile_sell() -> void:
|
||||
|
||||
# 40250 ItemSlot 单元格:32×32,带 Slot_Base.sub 底图,图标居中,右下角堆叠数量
|
||||
func _slot(it: Dictionary, pos: int) -> Button:
|
||||
var slot := Button.new()
|
||||
var slot := QuietButton.new()
|
||||
slot.custom_minimum_size = Vector2(32, 32)
|
||||
slot.size = Vector2(32, 32)
|
||||
slot.clip_text = true
|
||||
|
||||
Reference in New Issue
Block a user