安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题








First need to decouple both panels autohiding together, by removing:
line 223: self.friend:setVisibleReal(spiff.Conf.invVisible)
line 244: self.friend:setVisibleReal(true)
Second change is related to the update function (starts line 567), and further prevents a trigger of the Inventory panel when interacting with the Loot Panel:
Adding/Changing the lines starting at 720 (would end at 729):
if self.onCharacter then
if self:isMouseInTop() or self:isMouseOverEquipmentUi() then
self:Collapse(false, "MouseMoveIn Player Inv")
self.autoHide = true
end
else -- For the loot panel, it should only show if its top is moused over.
if self:isMouseInTop() then
self:Collapse(false, "MouseMoveIn Loot Inv")
self.autoHide = true
end
end
Remove the following:
line 733 - 734:
else
self:Collapse(false, "force visible")
These following changes allow the auto-hide feature without the flickering of the EquipmentUI
Not sure if intended with auto-hide, but dragging an item to the floor causes the inventory/loot panel to remain open even with auto-hide enabled. Will collapse upon mouse clicks. The following changes to the SUI_InventoryPage.lua file can fix this
Within the function ISInventoryPage:update()
... (existing code) ...
if not self.isCollapsed then
if not self.fVisible then
if (not ISMouseDrag.dragging or #ISMouseDrag.dragging == 0) then
if self.fromDrag then
self.fromDrag = false
self.autoHide = true
if not self:isMouseInBuffer() and not self.friend:isMouseInBuffer() then -- Check if mouse is NOT in either panel
self.holdOpen = false -- Ensure holdOpen is reset to allow auto-hide
self.wasDrag = false -- Also clear wasDrag if not hovering over a friend
else
self.wasDrag = self.friend.mouseOver -- Keep existing logic if hovering over friend
self.holdOpen = not self.wasDrag -- Keep existing holdOpen logic based on wasDrag
end
end
…(rest of code) …
end