@@ -6,7 +6,7 @@ Return unit frame for a given unit
6
6
7
7
``` Lua
8
8
local LGF = LibStub (" LibGetFrame-1.0" )
9
- local frame = LGF .GetFrame (unit , options )
9
+ local frame = LGF .GetUnitFrame (unit , options )
10
10
```
11
11
12
12
## Options
@@ -100,7 +100,7 @@ local frame = LGF.GetFrame(unit , options)
100
100
``` Lua
101
101
local LGF = LibStub (" LibGetFrame-1.0" )
102
102
local LCG = LibStub (" LibCustomGlow-1.0" )
103
- local frame = LGF .GetFrame (" player" )
103
+ local frame = LGF .GetUnitFrame (" player" )
104
104
105
105
if frame then
106
106
LCG .ButtonGlow_Start (frame )
114
114
local LGF = LibStub (" LibGetFrame-1.0" )
115
115
local LCG = LibStub (" LibCustomGlow-1.0" )
116
116
117
- local frames = LGF .GetFrame (" target" , {
117
+ local frames = LGF .GetUnitFrame (" target" , {
118
118
ignorePlayerFrame = false ,
119
119
ignoreTargetFrame = false ,
120
120
ignoreTargettargetFrame = false ,
130
130
### Ignore Vuhdo panel 2 and 3
131
131
132
132
``` Lua
133
- local frame = LGF .GetFrame (" player" , {
133
+ local frame = LGF .GetUnitFrame (" player" , {
134
134
ignoreFrames = { " Vd2.*" , " Vd3.*" }
135
135
})
136
136
```
0 commit comments