Skip to content

Commit

Permalink
fix#18: remove experimental/not working/confusing square option
Browse files Browse the repository at this point in the history
  • Loading branch information
mooreatv committed May 11, 2021
1 parent d1fd1ae commit 24d8dc0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Coming next:
- Your input/suggestions welcome !
- See open issues for ideas https://github.com/mooreatv/NeatMinimap/issues

v1.07.06 May 10th 2021
- Remove square minimap experimental feature UI as it doesn't work

v1.07.05 April 21st 2021
- Classic is now 1.13.7

Expand Down
18 changes: 9 additions & 9 deletions NeatMinimap/NeatMinimap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ function NMM:UpdateButtons()
self:Debug("ElvUI case, we'll start with fewer managed buttons")
NMM.buttons = {}
end
if NMM.square then
NMM.exclude["MinimapBorder"] = false
NMM.exclude["MinimapBackdrop"] = false
Minimap:SetMaskTexture("")
end
-- if NMM.square then
-- NMM.exclude["MinimapBorder"] = false
-- NMM.exclude["MinimapBackdrop"] = false
-- Minimap:SetMaskTexture("")
-- end
NMM.exclude["TimeManagerClockButton"] = not NMM.doClock
NMM.exclude["MiniMapTrackingFrame"] = not NMM.doTrack
for _, b in ipairs({Minimap:GetChildren()}) do
Expand Down Expand Up @@ -349,8 +349,8 @@ function NMM:CreateOptionsPanel()
p:addText(L["These options let you control the behavior of NeatMinimap"] .. " " .. NMM.manifestVersion ..
" @project-abbreviated-hash@"):Place()

local makeSquare = p:addCheckBox(L["Make the minimap square"], L["Experimental minimalistic square version"])
:Place(4, 20)
-- local makeSquare = p:addCheckBox(L["Make the minimap square"], L["Experimental minimalistic square version"])
-- :Place(4, 20)

local doClock = p:addCheckBox(L["Also hide/show Clock"], L["Whether the Blizzard clock should also be hidden/shown"])
:Place(4, 20)
Expand Down Expand Up @@ -404,7 +404,7 @@ function NMM:CreateOptionsPanel()
doGarrison:SetChecked(NMM.doGarrison)
doTrack:SetChecked(NMM.doTrack)
delaySlider:SetValue(NMM.delay)
makeSquare:SetValue(NMM.square)
-- makeSquare:SetValue(NMM.square)
NMM:ShowButtons()
end

Expand Down Expand Up @@ -432,7 +432,7 @@ function NMM:CreateOptionsPanel()
NMM:SetSaved("doGarrison", doGarrison:GetChecked())
NMM:SetSaved("doTrack", doTrack:GetChecked())
NMM:SetSaved("delay", delaySlider:GetValue())
NMM:SetSaved("square", makeSquare:GetChecked())
-- NMM:SetSaved("square", makeSquare:GetChecked())
NMM:SetupMouseInOut()
NMM:ScheduleNextCheck()
end
Expand Down

0 comments on commit 24d8dc0

Please sign in to comment.