[2.1.8] Camera LuaGuiElement zoom limited to 3.0

Post your bugs and problems so we can fix them.
User avatar
Osmo
Filter Inserter
Filter Inserter
Posts: 318
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

[2.1.8] Camera LuaGuiElement zoom limited to 3.0

Post by Osmo »

Reproduction steps:

Code: Select all

/c cam = game.player.gui.screen.add{type = "camera", position = {0,0}}
/c cam.style.size = 300
/c cam.zoom = 3
/c cam.zoom = 5
Expected result: camera zoom will be set to 3.0 and then 5.0.
Actual result: camera zoom is set to 3.0, but the next write makes no observable difference.
Of note is that player zoom limits can be set much higher than 3.0, and allow-increased-zoom F4 option also makes camera zoom limits increased.
Attachments
factorio-current.log
(10.5 KiB) Downloaded 3 times
Post Reply

Return to “Bug Reports”