Background images are too big on my 1366x768 screen.

I got this problem since Garry’s Mod 13 update, the background images are too big on my screen (1366x768).

Some screenshots;

http://i.imgur.com/qAY2O0c.jpg[/t]
[t]http://i.imgur.com/0ncZpVT.jpg

Changing the game into the Dev. Build mode doesn’t fix this, ditto for uninstalling or verifying game cache.
Also I’ve tried to change the background images to 1366x768, but no success.

They zoom in intentionally.

Nope, it does but really little, have a comparison.

Not mine:

http://cloud-4.steampowered.com/ugc/595863935744566868/BE3ABA4217B94962A60D81CD0963CDFD34D7B950/512x0.resizedimage[/t]

Mine:
[t]http://i.imgur.com/c2nbF88.jpg

Huh. I thought I was the only one having this problem. My laptop’s 1366x768 display does the same thing, last time I checked. Maybe it’s just lack of proper support for the resolution in certain Source Engine games. For example, in Left 4 Dead 2, the default hunting rifle/sniper rifle scope is stretched very oddly at 1366x768, as if it were a 4:3 image being put on a 16:9 display. But it’s fine on most other resolutions.

Ok, I can confirm the issue from the code. I will try to rectify the issue.

Ok, I got the problem figured out, if you want an immediate fix, put this code:



    if ( Active.Ratio < ScrW() / ScrH() ) then

        Active.Size = Active.Size + ( ( ScrW() / ScrH() ) - Active.Ratio )

    end

Instead of



    if ( Active.Ratio < ScrW() / ScrH() ) then

        Active.Size = Active.Size * ( ScrW() / ScrH()  );

    end

In the file garrysmod/lua/menu/background.lua lines 114-118.