Skip to content

Commit

Permalink
Update to use latest libraries.
Browse files Browse the repository at this point in the history
Should fix #91
  • Loading branch information
Ravendwyr committed Sep 2, 2022
1 parent 3cae737 commit 973cee6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Modules/Appearance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function Appearance:OnDisable()
MinimapBorder:Show()
Minimap:SetAlpha(1)

if Chinchilla:IsClassic() or Chinchilla:IsBurningCrusadeClassic() then
if Chinchilla:IsClassic() or Chinchilla:IsWrathClassic() then
Minimap:SetMaskTexture("Textures\\MinimapMask")
else
Minimap:SetMaskTexture(186178)
Expand Down Expand Up @@ -241,7 +241,7 @@ function Appearance:SetScale(value)

if Chinchilla:IsClassic() then
QuestWatchFrame:GetSize()
elseif Chinchilla:IsBurningCrusadeClassic() then
elseif Chinchilla:IsWrathClassic() then
WatchFrame:GetSize()
else
ObjectiveTrackerFrame:GetSize()
Expand Down
2 changes: 1 addition & 1 deletion Modules/MoveButtons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function MoveButtons:OnInitialize()
zoomIn = MinimapZoomIn,
zoomOut = MinimapZoomOut,
}
elseif Chinchilla:IsBurningCrusadeClassic() then
elseif Chinchilla:IsWrathClassic() then
buttons = {
map = MiniMapWorldMapButton,
mail = MiniMapMailFrame,
Expand Down
8 changes: 4 additions & 4 deletions Modules/Position.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function Position:OnInitialize()
questWatch = QuestWatchFrame,
ticketStatus = TicketStatusFrame,
}
elseif Chinchilla:IsBurningCrusadeClassic() then
elseif Chinchilla:IsWrathClassic() then
nameToFrame = {
minimap = Minimap,
durability = DurabilityFrame,
Expand Down Expand Up @@ -182,7 +182,7 @@ function Position:OnEnable()

if Chinchilla:IsClassic() then
self:SecureHook(QuestWatchFrame, "SetPoint", "WatchFrame_SetPoint")
elseif Chinchilla:IsBurningCrusadeClassic() then
elseif Chinchilla:IsWrathClassic() then
self:SecureHook(WatchFrame, "SetPoint", "WatchFrame_SetPoint")
else
self:SecureHook(VehicleSeatIndicator, "SetPoint", "VehicleSeatIndicator_SetPoint")
Expand Down Expand Up @@ -327,7 +327,7 @@ function Position:SetMinimapPosition(point, x, y)

if Chinchilla:IsClassic() then
QuestWatchFrame:GetSize()
elseif Chinchilla:IsBurningCrusadeClassic() then
elseif Chinchilla:IsWrathClassic() then
WatchFrame:GetSize()
else
ObjectiveTrackerFrame:GetSize()
Expand Down Expand Up @@ -521,7 +521,7 @@ function Position:UpdateClamp(info, value)

if Chinchilla:IsClassic() then
QuestWatchFrame:GetSize()
elseif Chinchilla:IsBurningCrusadeClassic() then
elseif Chinchilla:IsWrathClassic() then
WatchFrame:GetSize()
else
ObjectiveTrackerFrame:GetSize()
Expand Down
2 changes: 1 addition & 1 deletion Modules/ShowHide.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function ShowHide:OnInitialize()
zoomOut = "MinimapZoomOut",
clock = "TimeManagerClockButton",
}
elseif Chinchilla:IsBurningCrusadeClassic() then
elseif Chinchilla:IsWrathClassic() then
frames = {
north = "MinimapNorthTag",
map = "MiniMapWorldMapButton",
Expand Down

0 comments on commit 973cee6

Please sign in to comment.