Skip to content

Commit 9719ccc

Browse files
KethoStanzilla
authored andcommitted
Changed cameraDistanceMaxZoomFactor to 3.4 and nameplateMaxDistance to 20 in Classic
Removed mapFade in Classic
1 parent f1fe424 commit 9719ccc

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

basicOptions.lua

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ subText:SetText('These options allow you to toggle various options that have bee
359359
local playerTitles = newCheckbox(AIO, 'UnitNamePlayerPVPTitle')
360360
local playerGuilds = newCheckbox(AIO, 'UnitNamePlayerGuild')
361361
local playerGuildTitles = newCheckbox(AIO, 'UnitNameGuildTitle')
362-
local fadeMap = newCheckbox(AIO, 'mapFade')
362+
local fadeMap = not IsClassic() and newCheckbox(AIO, 'mapFade')
363363
local secureToggle = newCheckbox(AIO, 'secureAbilityToggle')
364364
local luaErrors = newCheckbox(AIO, 'scriptErrors')
365365
local targetDebuffFilter = newCheckbox(AIO, 'noBuffDebuffFilterOnTarget')
@@ -436,14 +436,16 @@ actionCamModeDropdown.initialize = function(dropdown)
436436
end
437437
actionCamModeDropdown:HookScript("OnShow", actionCamModeDropdown.initialize)
438438

439-
local cameraFactor = newSlider(AIO, 'cameraDistanceMaxZoomFactor', 1, 2.6, 0.1)
439+
local cameraFactor = newSlider(AIO, 'cameraDistanceMaxZoomFactor', 1, IsClassic() and 3.4 or 2.6, 0.1)
440440
cameraFactor:SetPoint('TOPLEFT', actionCamModeDropdown, 'BOTTOMLEFT', 20, -20)
441441

442442
playerTitles:SetPoint("TOPLEFT", subText, "BOTTOMLEFT", 0, -8)
443443
playerGuilds:SetPoint("TOPLEFT", playerTitles, "BOTTOMLEFT", 0, -4)
444444
playerGuildTitles:SetPoint("TOPLEFT", playerGuilds, "BOTTOMLEFT", 0, -4)
445-
fadeMap:SetPoint("TOPLEFT", playerGuildTitles, "BOTTOMLEFT", 0, -4)
446-
secureToggle:SetPoint("TOPLEFT", fadeMap, "BOTTOMLEFT", 0, -4)
445+
if not IsClassic() then
446+
fadeMap:SetPoint("TOPLEFT", playerGuildTitles, "BOTTOMLEFT", 0, -4)
447+
end
448+
secureToggle:SetPoint("TOPLEFT", IsClassic() and playerGuildTitles or fadeMap, "BOTTOMLEFT", 0, -4)
447449
luaErrors:SetPoint("TOPLEFT", secureToggle, "BOTTOMLEFT", 0, -4)
448450
targetDebuffFilter:SetPoint("TOPLEFT", luaErrors, "BOTTOMLEFT", 0, -4)
449451

@@ -842,7 +844,7 @@ SubText_NP:SetPoint('TOPLEFT', Title_NP, 'BOTTOMLEFT', 0, -8)
842844
SubText_NP:SetPoint('RIGHT', -32, 0)
843845
SubText_NP:SetText('These options allow you to modify Nameplate Options.')
844846

845-
local nameplateDistance = newSlider(AIO_NP, 'nameplateMaxDistance', 10, 100)
847+
local nameplateDistance = newSlider(AIO_NP, 'nameplateMaxDistance', 10, IsClassic() and 20 or 100)
846848
nameplateDistance:SetPoint('TOPLEFT', SubText_NP, 'BOTTOMLEFT', 0, -20)
847849

848850
local nameplateAtBase = newCheckbox(AIO_NP, 'nameplateOtherAtBase')

0 commit comments

Comments
 (0)