mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-02 00:46:57 +00:00
Show the target LoS indicator through ClassicAPI's UnitInLineOfSight
The indicator moves from the unitxp module to the target frame, so it no longer needs UnitXP_SP3. Its checkbox and the shared font size move to a Target Indicators header; unitxp_font_size becomes indicator_font_size. The unused pfUI.api.UnitInLineOfSight wrapper, which shadowed the ClassicAPI global inside the pfUI environment, is removed.
This commit is contained in:
+4
-2
@@ -286,9 +286,11 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", nil, "reactive_size", "28")
|
||||
pfUI:UpdateConfig("unitframes", nil, "damage_tracking", "0")
|
||||
|
||||
-- UnitXP Settings
|
||||
pfUI:UpdateConfig("unitframes", nil, "unitxp_font_size", "13")
|
||||
-- Target Indicators
|
||||
pfUI:UpdateConfig("unitframes", nil, "indicator_font_size", "13")
|
||||
pfUI:UpdateConfig("unitframes", nil, "los_indicator", "0")
|
||||
|
||||
-- UnitXP Settings
|
||||
pfUI:UpdateConfig("unitframes", nil, "behind_indicator", "0")
|
||||
pfUI:UpdateConfig("unitframes", nil, "hide_distance_yd", "0")
|
||||
pfUI:UpdateConfig("unitframes", nil, "unitxp_notify", "0")
|
||||
|
||||
Reference in New Issue
Block a user