Skip to content

Commit f2e49b4

Browse files
committed
move this to setup cvars
1 parent 039c75f commit f2e49b4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

ElvUI/Core/General/API.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -829,11 +829,6 @@ function E:PLAYER_ENTERING_WORLD(_, initLogin, isReload)
829829
if initLogin or isReload then
830830
E:CheckIncompatible()
831831

832-
-- Force this on when the minimap is enabled
833-
if E.private.general.minimap.enable then
834-
E:SetCVar('rotateMinimap', 0)
835-
end
836-
837832
-- Blizzard will set this value to int(60/CVar cameraDistanceMax)+1 at logout if it is manually set higher than that
838833
if not E.Retail and E.db.general.lockCameraDistanceMax then
839834
E:SetCVar('cameraDistanceMaxZoomFactor', E.db.general.cameraDistanceMax)

ElvUI/Core/General/Install.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ function E:SetupCVars(noDisplayMsg)
170170
E:SetCVar('threatWarning', 3)
171171
E:SetCVar('alwaysShowActionBars', 1)
172172
E:SetCVar('lockActionBars', 1)
173+
E:SetCVar('rotateMinimap', 0)
173174
E:SetCVar('ActionButtonUseKeyDown', 1)
174175
E:SetCVar('fstack_preferParentKeys', 0) -- Add back the frame names via fstack!
175176

0 commit comments

Comments
 (0)