Skip to content

Commit

Permalink
Merge pull request #13 from MuMuQ/bugfix/tracking-highlighting
Browse files Browse the repository at this point in the history
Fix highlighting of tracked study lines in U34
  • Loading branch information
Rhyono committed May 14, 2022
2 parents af1b4b8 + dfa5788 commit eb98de2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CraftStore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -806,15 +806,15 @@ function CS.UpdateStudyLine(control,tracking,craft,line)
-- set all tracked
if allTracked then
control:GetNamedChild('HeaderTexture'):SetColor(1,1,1,1)
for x = 1, control:GetNumChildren() - 1 do
for x = 2, control:GetNumChildren() - 1 do
local subcontrol = control:GetChild(x)
subcontrol:SetCenterColor(0.06,0.06,0.06,1)
subcontrol:SetEdgeColor(1,1,1,0.12)
end
else
-- set header red
control:GetNamedChild('HeaderTexture'):SetColor(1,0,0,1)
for x = 1, control:GetNumChildren() - 1 do
for x = 2, control:GetNumChildren() - 1 do
local subcontrol = control:GetChild(x)
-- set individually
if trackingTable[x] then
Expand Down

0 comments on commit eb98de2

Please sign in to comment.