Skip to content

Commit

Permalink
lock updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgdevx committed Dec 20, 2024
1 parent a21b5bb commit 1d52e32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,10 @@ function Options:SlashCommands(message)
if message == "toggle lock" then
if NS.db.global.lock == false then
NS.db.global.lock = true
NS.Interface:Lock(NS.Interface.textFrame)
else
NS.db.global.lock = false
NS.Interface:Unlock(NS.Interface.textFrame)
end
else
AceConfigDialog:Open(AddonName)
Expand Down

0 comments on commit 1d52e32

Please sign in to comment.