Skip to content

Commit

Permalink
Attempt to fix issue #140
Browse files Browse the repository at this point in the history
  • Loading branch information
IrcDirk committed Jan 8, 2019
1 parent c8fbfe2 commit 0b2f967
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion NxMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,9 @@ function Nx.Map:Create (index)
plf.texture = t
t:SetTexture ("Interface\\Minimap\\MinimapArrow")
t:SetAllPoints (plf)

t:SetSnapToPixelGrid(false)
t:SetTexelSnappingBias(0)

plf:SetPoint ("CENTER", 0, (m.TitleH - 1) * -.5)
plf:Show()

Expand Down Expand Up @@ -4265,6 +4267,8 @@ function Nx.Map:UpdateWorld()

for i = 1, numtiles do
self.TileFrms[i].texture:SetTexture (texturesIDs[i])
self.TileFrms[i].texture:SetSnapToPixelGrid(false)
self.TileFrms[i].texture:SetTexelSnappingBias(0)
end
end

Expand Down Expand Up @@ -8132,6 +8136,8 @@ function Nx.Map:UpdateIcons (drawNonGuide)
if icon.TX1 then
f.texture:SetTexCoord(icon.TX1, icon.TY1, icon.TX2, icon.TY2)
end
f.texture:SetSnapToPixelGrid(false)
f.texture:SetTexelSnappingBias(0)
end
end
end
Expand Down

0 comments on commit 0b2f967

Please sign in to comment.