Skip to content

Commit

Permalink
Merge pull request #2 from Kirri777:Kirri777/issue1
Browse files Browse the repository at this point in the history
Problems in patch 11.0
  • Loading branch information
Kirri777 authored Jul 29, 2024
2 parents e5fb8c4 + fc4151b commit 44c9ac1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions InProgressMissions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ end
local function GarrisonLandingPageReport_SetElementInitializer()
local view = GarrisonLandingPageReportList.ScrollBox:GetView()
view:GetPadding():SetRight(GarrisonLandingPageReportList.ScrollBar:GetWidth())
view.templateInfos["GarrisonLandingPageReportMissionTemplate"] = nil
-- view.templateInfos["GarrisonLandingPageReportMissionTemplate"] = nil
view.elementExtent = nil
view:SetElementInitializer("GarrisonLandingPageReportMissionTemplateIPM", function(button, elementData)
if GarrisonLandingPageReport.selectedTab == GarrisonLandingPageReport.InProgress then
Expand Down Expand Up @@ -923,7 +923,8 @@ local function MissionButtonReward_OnLeave(frame)
end

function addon:MissionButton_OnLoad(button)
button.MissionTypeBG = button:CreateTexture(nil, "BACKGROUND", "Spellbook-TextBackground", 1)
-- button.MissionTypeBG = button:CreateTexture(nil, "BACKGROUND", "Spellbook-TextBackground", 1)
button.MissionTypeBG = button:CreateTexture(nil, "BACKGROUND")
button.MissionTypeBG:ClearAllPoints()
button.MissionTypeBG:SetPoint("TOPLEFT", button.MissionType, -5, 4)
button.MissionTypeBG:SetPoint("BOTTOMLEFT", button.MissionType, -5, -2)
Expand Down Expand Up @@ -1454,8 +1455,8 @@ function addon:HookCovenantMissionFrame()

local view = _G.CovenantMissionFrameMissions.ScrollBox:GetView()
view.elementExtent = COVENANTMISSION_BUTTONHEIGHT
view.templateInfos["CovenantMissionListButtonTemplate"].height = view.elementExtent
view.templateInfos["CovenantMissionListButtonTemplate"].extent = view.elementExtent
-- view.templateInfos["CovenantMissionListButtonTemplate"].height = view.elementExtent
-- view.templateInfos["CovenantMissionListButtonTemplate"].extent = view.elementExtent

_G.CovenantMissionFrameMissions.ScrollBox.wheelPanScalar = 1.5
_G.CovenantMissionFrameMissions.ScrollBar.wheelPanScalar = 1.5
Expand Down

0 comments on commit 44c9ac1

Please sign in to comment.