mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
test PixelPerfect on iMac
This commit is contained in:
@@ -12,10 +12,10 @@ local GetScreenHeight, GetScreenWidth = GetScreenHeight, GetScreenWidth
|
||||
local scale
|
||||
|
||||
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
|
||||
self.screenheight = self.global.screenheight
|
||||
self.screenwidth = self.global.screenwidth
|
||||
end
|
||||
-- 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.screenwidth = self.global.screenwidth
|
||||
-- end
|
||||
|
||||
if GetCVar("UIScale") then
|
||||
self.global.uiScale = GetCVar("UIScale")
|
||||
|
||||
Reference in New Issue
Block a user