Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbuds committed Jul 19, 2019
1 parent 2d16fc3 commit d79f738
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Return unit frame for a given unit

```Lua
local LGF = LibStub("LibGetFrame-1.0")
local frame = LGF.GetFrame(unit , options)
local frame = LGF.GetUnitFrame(unit , options)
```

## Options
Expand Down Expand Up @@ -100,7 +100,7 @@ local frame = LGF.GetFrame(unit , options)
```Lua
local LGF = LibStub("LibGetFrame-1.0")
local LCG = LibStub("LibCustomGlow-1.0")
local frame = LGF.GetFrame("player")
local frame = LGF.GetUnitFrame("player")

if frame then
LCG.ButtonGlow_Start(frame)
Expand All @@ -114,7 +114,7 @@ end
local LGF = LibStub("LibGetFrame-1.0")
local LCG = LibStub("LibCustomGlow-1.0")

local frames = LGF.GetFrame("target", {
local frames = LGF.GetUnitFrame("target", {
ignorePlayerFrame = false,
ignoreTargetFrame = false,
ignoreTargettargetFrame = false,
Expand All @@ -130,7 +130,7 @@ end
### Ignore Vuhdo panel 2 and 3

```Lua
local frame = LGF.GetFrame("player", {
local frame = LGF.GetUnitFrame("player", {
ignoreFrames = { "Vd2.*", "Vd3.*" }
})
```
Expand Down

0 comments on commit d79f738

Please sign in to comment.