User Details
- User Since
- Apr 12 2017, 10:23 AM (363 w, 1 d)
Jun 22 2019
Jul 24 2017
Updated with the latest diff
Jul 23 2017
Updated with @joskar code
The only thing that I noticed is missing from @joskar's patch is that the cursor doesn't get resized until the game is restarted. The cursor needs to be recreated, because the scaling is done at creation time.
May 27 2017
The return value for the bandbox shouldn't be scaled
Updated the diff to resolve conflicts in binaries/data/mods/public/gui/session/input.js
Apr 18 2017
I think it's better to add D328 as a dependency and consider gui.scale accoring to that patch.
Apr 16 2017
Apr 14 2017
I partially agree with you @domdomegg, 0.01 is too low to be useful, but i think 0.5 is too high (remember that you're using a 4K screen, so what you're seeing there is actually like a 0.25 scale), so I've set the minimum to 0.25.
I also set 8 as maximum, which should be more than enough even for the 8K screens people.
I agree with you @domdomegg, now i think it's more clear
@vladislavbelov I changed options.xml and set a min of 0.01 instead of 0. As for the real-time change of gui.scale I'll tackle this problem in another patch, because it doesn't seem trivial to do and I think it's unrelated to this patch
I had to add another level to CConfigDB to overcome what @vladislavbelov pointed out. Now the sanitized values should be propagated to JavaScript.
@vladislavbelov I've addressed this problem in D330 since it involves more variables than just gui.scale
Apr 13 2017
Updated copyright year on all changed files as suggested by @domdomegg
I've already modified programming.json in D320, so I'll wait for that patch to be accepted.