From 67feb75b6afc323e9fe5af110c27b9cb11a32190 Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 18 Mar 2018 00:54:15 +0100 Subject: [PATCH] hdgraphic: save uiscale to cvars --- modules/hdgraphic.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/hdgraphic.lua b/modules/hdgraphic.lua index 3712d947..bb2cfd75 100644 --- a/modules/hdgraphic.lua +++ b/modules/hdgraphic.lua @@ -23,6 +23,9 @@ pfUI:RegisterModule("hdgraphic", function () UIParent:SetWidth(screenwidth) UIParent:SetHeight(screenheight) UIParent:SetPoint("CENTER",0,0) + + SetCVar("uiScale", scale) + SetCVar("useUiScale", 1) end end end