mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-02 19:50:02 +00:00
Remove dead unitframes showtooltip setting
The mouseover-scripts migration dropped the unit frame OnEnter/OnLeave handlers that read C.unitframes[unit].showtooltip, so nothing consulted the setting anymore. The engine mouseover (driven by the frame's unit attribute) now shows the native tooltip unconditionally, so the option could not gate it even if a reader remained. Drop the config default, the "Enable Mouseover Tooltip" GUI checkbox, and the now-orphaned locale string from all translation files.
This commit is contained in:
@@ -2240,7 +2240,6 @@ pfUI:RegisterModule("gui", function ()
|
||||
|
||||
-- build config entries
|
||||
CreateConfig(U[c], T["Display Frame"] .. ": " .. t, C.unitframes[c], "visible", "checkbox")
|
||||
CreateConfig(U[c], T["Enable Mouseover Tooltip"], C.unitframes[c], "showtooltip", "checkbox")
|
||||
CreateConfig(U[c], T["Default Transparency"], C.unitframes[c], "alpha_visible", "dropdown", pfUI.gui.dropdowns.percent_small)
|
||||
CreateConfig(U[c], T["Out Of Range Transparency"], C.unitframes[c], "alpha_outrange", "dropdown", pfUI.gui.dropdowns.percent_small)
|
||||
CreateConfig(U[c], T["Offline Transparency"], C.unitframes[c], "alpha_offline", "dropdown", pfUI.gui.dropdowns.percent_small)
|
||||
|
||||
Reference in New Issue
Block a user