Skip to content

Commit de93d36

Browse files
committed
Temp disable xypos until its a setting
1 parent 4647c2f commit de93d36

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Main.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ frmMain:RegisterForClicks('AnyUp')
3535
frmMain:SetScript('OnClick', OnClickXYPos)
3636
frmMain:SetSize(170, height)
3737
frmMain:SetPoint('TOP')
38-
frmMain:Show()
38+
--frmMain:Show()
3939
local backdrop = CreateFrame("Frame", "Backdrop", frmMain, "BackdropTemplate")
4040
backdrop:SetAllPoints()
4141
backdrop.backdropInfo = {
@@ -47,8 +47,8 @@ backdrop.backdropInfo = {
4747
edgeSize = 16, -- Number - Control how large each copy of the edgeFile becomes on-screen (i.e. border thickness and corner size)
4848
insets = { left = 4, right = 4, top = 4, bottom = 4, },
4949
}
50-
backdrop:ApplyBackdrop()
51-
backdrop:SetBackdropColor(0, 0, 1, 0.3)
50+
--backdrop:ApplyBackdrop()
51+
---backdrop:SetBackdropColor(0, 0, 1, 0.3)
5252

5353
local xyPos = backdrop:CreateFontString(frmMain, 'OVERLAY', 'GameTooltipText')
5454
xyPos:SetTextColor(1, 1, 1, 1)
@@ -67,7 +67,7 @@ local function updatePos()
6767
xyPos:SetText('Location [' .. round(x * 100, 2) .. ', '.. round(y * 100, 2) ..']')
6868
end
6969

70-
C_Timer.NewTicker(0.1, updatePos)
70+
--C_Timer.NewTicker(0.1, updatePos)
7171

7272
local parent = CreateFrame('Frame','Mine',UIParent)
7373
parent:SetPoint('TOPRIGHT', MinimapCluster, 'TOPLEFT', 25, 0)

0 commit comments

Comments
 (0)