Skip to content

Commit

Permalink
fixing placeholder text
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgdevx committed Nov 5, 2024
1 parent 233b2ef commit c87f1ba
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,7 @@
"table": "disable",
"utf8": "disable"
},
"Lua.workspace.library": ["~\\.vscode\\extensions\\ketho.wow-api-0.17.6\\Annotations"]
"Lua.workspace.library": [
"~\\.vscode\\extensions\\ketho.wow-api-0.17.6\\Annotations"
]
}
2 changes: 1 addition & 1 deletion AutoBodyRes.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 110005
## Title: AutoBodyRes
## Version: 1.1.6
## Version: 1.1.7
## Author: RBGDEV
## Notes: Shows text if someone took your body or not after you died in a battleground, preventing you from being able to body res.
## OptionalDeps: Ace3, LibStub, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Auto Body Res

## [v1.1.7](https://github.com/rbgdevx/auto-body-res/releases/tag/v1.1.7) (2024-11-04)

- Fixing placeholder text hide/show settings

## [v1.1.6](https://github.com/rbgdevx/auto-body-res/releases/tag/v1.1.6) (2024-11-04)

- Updating placeholder text to be clear its placeholder
Expand Down
6 changes: 5 additions & 1 deletion options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,11 @@ NS.AceConfig = {
if NS.db.global.outside then
if not NS.isDead() then
NS.Interface.textFrame:Hide()
NS.Interface.text:SetText("")
end
else
NS.Interface.textFrame:Hide()
NS.Interface.text:SetText("")
end
end
end
Expand Down Expand Up @@ -150,7 +152,9 @@ NS.AceConfig = {
NS.Interface.textFrame:Show()
FrameUtil.RegisterFrameForEvents(AutoBodyResFrame, DEAD_EVENTS)
else
NS.Interface.textFrame:Hide()
if not NS.db.global.test then
NS.Interface.textFrame:Hide()
end
FrameUtil.UnregisterFrameForEvents(AutoBodyResFrame, DEAD_EVENTS)
end
end
Expand Down

0 comments on commit c87f1ba

Please sign in to comment.