mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +00:00
test PixelPerfect on iMac
This commit is contained in:
@@ -12,10 +12,10 @@ local GetScreenHeight, GetScreenWidth = GetScreenHeight, GetScreenWidth
|
|||||||
local scale
|
local scale
|
||||||
|
|
||||||
function E:UIScale(event)
|
function E:UIScale(event)
|
||||||
if IsMacClient() and self.global.screenheight and self.global.screenwidth and (self.screenheight ~= self.global.screenheight or self.screenwidth ~= self.global.screenwidth) then
|
-- if IsMacClient() and self.global.screenheight and self.global.screenwidth and (self.screenheight ~= self.global.screenheight or self.screenwidth ~= self.global.screenwidth) then
|
||||||
self.screenheight = self.global.screenheight
|
-- self.screenheight = self.global.screenheight
|
||||||
self.screenwidth = self.global.screenwidth
|
-- self.screenwidth = self.global.screenwidth
|
||||||
end
|
-- end
|
||||||
|
|
||||||
if GetCVar("UIScale") then
|
if GetCVar("UIScale") then
|
||||||
self.global.uiScale = GetCVar("UIScale")
|
self.global.uiScale = GetCVar("UIScale")
|
||||||
|
|||||||
Reference in New Issue
Block a user