MagmaMcFry / Factorissimo2

Factorissimo2, a Factorio mod that adds factory buildings to the game
https://mods.factorio.com/mod/Factorissimo2
MIT License
65 stars 40 forks source link

Use LuaPlayer::display_scale to adjust the scale of the camera for the preview #33

Open Bilka2 opened 6 years ago

Bilka2 commented 6 years ago

http://lua-api.factorio.com/latest/LuaPlayer.html#LuaPlayer.display_scale is a thing in 0.16 which should fix the known issue at the top of your mod portal page.

Q: Why can't I see the whole inside of the factory building in the preview window? E: You're using a reduced GUI scale. Currently camera GUI components don't scale with the GUI, so you'll have to go into the mod options (Options -> Mods -> Per player) and adjust the preview zoom setting. Unfortunately I can't detect your GUI scale myself, otherwise I'd have used that.

MagmaMcFry commented 6 years ago

Ah, nice. Thanks for the info.