Skip to content

Commit

Permalink
Update for 10.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ketho committed Nov 26, 2022
1 parent d694cf0 commit fe5e26e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions MaxCam.lua
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,10 @@ local function UpdateDistancePanel() -- InterfaceOptionsFrame distance
end
end

hooksecurefunc("InterfaceOptionsList_DisplayPanel", UpdateDistancePanel) -- navigating to MaxCam panel
InterfaceOptionsFrame:HookScript("OnShow", UpdateDistancePanel) -- opening straight to MaxCam panel
if not isRetail then
hooksecurefunc("InterfaceOptionsList_DisplayPanel", UpdateDistancePanel) -- navigating to MaxCam panel
InterfaceOptionsFrame:HookScript("OnShow", UpdateDistancePanel) -- opening straight to MaxCam panel
end

for i, v in pairs({"mc", "maxcam"}) do
_G["SLASH_MAXCAM"..i] = "/"..v
Expand Down
4 changes: 2 additions & 2 deletions MaxCam.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 90207
## Interface-Classic: 11403
## Interface: 100002
## Interface-Wrath: 30400
## Interface-Classic: 11403
## Version: @project-version@
## Title: MaxCam
## Notes: Max Camera Distance
Expand Down

0 comments on commit fe5e26e

Please sign in to comment.