Skip to content

Commit

Permalink
Fix texture display for classic theme
Browse files Browse the repository at this point in the history
  • Loading branch information
RagedUnicorn committed Apr 24, 2024
1 parent 077200a commit 3ec92d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gui/GM_ThemeClassic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function me.CreateGearSlot(gearBarFrame, gearBar, position)
gearSlot:SetPushedTexture("Interface\\Buttons\\UI-Quickslot-Depress")

local normalTexture = gearSlot:GetNormalTexture()
normalTexture:SetTexCoord(0.19, 0.79, 0.19, 0.79)
normalTexture:SetTexCoord(0.19, 0.80, 0.19, 0.80)
normalTexture:SetSize(gearBar.gearSlotSize, gearBar.gearSlotSize)

gearSlot:SetSize(gearBar.gearSlotSize, gearBar.gearSlotSize)
Expand Down Expand Up @@ -115,7 +115,7 @@ function me.CreateChangeSlot(changeMenuFrame, position)
changeSlot:SetPushedTexture("Interface\\Buttons\\UI-Quickslot-Depress")

local normalTexture = changeSlot:GetNormalTexture()
normalTexture:SetTexCoord(0.19, 0.79, 0.19, 0.79)
normalTexture:SetTexCoord(0.19, 0.80, 0.19, 0.80)
normalTexture:SetSize(RGGM_CONSTANTS.GEAR_BAR_DEFAULT_SLOT_SIZE, RGGM_CONSTANTS.GEAR_BAR_DEFAULT_SLOT_SIZE)

mod.uiHelper.CreateItemTexture(changeSlot, RGGM_CONSTANTS.GEAR_BAR_DEFAULT_SLOT_SIZE)
Expand Down Expand Up @@ -152,7 +152,7 @@ function me.CreateTrinketSlot(trinketMenuFrame, position)

local normalTexture = trinketMenuSlot:GetNormalTexture()
local trinketMenuSlotSize = mod.configuration.GetTrinketMenuSlotSize()
normalTexture:SetTexCoord(0.19, 0.79, 0.19, 0.79)
normalTexture:SetTexCoord(0.19, 0.80, 0.19, 0.80)
normalTexture:SetSize(trinketMenuSlotSize, trinketMenuSlotSize)

mod.uiHelper.CreateItemTexture(trinketMenuSlot, trinketMenuSlotSize)
Expand Down

0 comments on commit 3ec92d0

Please sign in to comment.