Permalink
Browse files

Added 2560x1440 to valid resolutions.

This is native resolution of the iMac 27". Uses 16:9 aspect ratio but works as expected.
  • Loading branch information...
tobi committed Dec 26, 2009
1 parent 17bfe02 commit 1a67fa41e3f81e1383759a805a3bbc02a039efae
Showing with 1 addition and 1 deletion.
  1. +1 −1 Interface/AddOns/Tukui/mods/!Tukui.lua
@@ -33,7 +33,7 @@ if(AutoScale==true) then
scalefix:SetScript("OnEvent", function()
local index = GetCurrentResolution();
local resolution = select(index, GetScreenResolutions());
- if(resolution == "1680x1050" or resolution == "1920x1080" or resolution == "1920x1200" or resolution == "1600x900" or resolution == "2048x1152" or resolution == "1776x1000" or resolution == "2560x1600" or resolution == "1600x1200") then
+ if(resolution == "1680x1050" or resolution == "1920x1080" or resolution == "1920x1200" or resolution == "1600x900" or resolution == "2048x1152" or resolution == "1776x1000" or resolution == "2560x1600" or resolution == "2560x1440" or resolution == "1600x1200") then
SetCVar("useUiScale", 1)
SetCVar("uiScale", 768/string.match(({GetScreenResolutions()})[GetCurrentResolution()], "%d+x(%d+)"));
if(LoginMsg==true) then

0 comments on commit 1a67fa4

Please sign in to comment.