Mercurial > wow > worldplan
comparison MapFrame.lua @ 116:bf4a36378bb9
- Fixed flight map pins jumping about
author | Nenue |
---|---|
date | Fri, 24 Nov 2017 23:51:44 -0500 |
parents | caa482329919 |
children |
comparison
equal
deleted
inserted
replaced
115:f4dedbad7a11 | 116:bf4a36378bb9 |
---|---|
133 fs:SetPoint('TOPLEFT', region, 'TOPLEFT') | 133 fs:SetPoint('TOPLEFT', region, 'TOPLEFT') |
134 fs:SetShown(enableConfigLayers) | 134 fs:SetShown(enableConfigLayers) |
135 fs:SetText(tostring(region:GetName())) | 135 fs:SetText(tostring(region:GetName())) |
136 end | 136 end |
137 | 137 |
138 | 138 --[[ |
139 if region.SetColorTexture then | 139 if region.SetColorTexture then |
140 region:SetColorTexture(r,g,b,a) | 140 region:SetColorTexture(r,g,b,a) |
141 print('===', region.GetName and region:GetName() or tostring(region), string.format("|cFF%2X%2X%2X%f,%f,%f", r*255, g*255, b*255, r,g,b)) | 141 print('===', region.GetName and region:GetName() or tostring(region), string.format("|cFF%2X%2X%2X%f,%f,%f", r*255, g*255, b*255, r,g,b)) |
142 if g < 1 then | 142 if g < 1 then |
143 g = g + 0.25 | 143 g = g + 0.25 |
145 r = r - 0.25 | 145 r = r - 0.25 |
146 elseif b < 1 then | 146 elseif b < 1 then |
147 b = b + .25 | 147 b = b + .25 |
148 end | 148 end |
149 end | 149 end |
150 ]] | |
150 | 151 |
151 end | 152 end |
152 | 153 |
153 for region, data in pairs(GlobalRegions) do | 154 for region, data in pairs(GlobalRegions) do |
154 print(region, data) | 155 print(region, data) |