[2.1.7] Inventory LuaGuiElement glitching when writing to slots_per_row

This subforum contains all the issues which we already resolved.
User avatar
Osmo
Filter Inserter
Filter Inserter
Posts: 311
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

[2.1.7] Inventory LuaGuiElement glitching when writing to slots_per_row

Post by Osmo »

Create a new world and do the following commands, in order.
When writing a (different) value to slots_per_row, the element flickers for a frame, and then goes back to as it was before.

Code: Select all

/c inv = game.player.gui.screen.add{type = "inventory"}
/c inv.inventory = game.player.get_inventory(1)
/c inv.slots_per_row = 1
Attachments
factorio-current.log
(9.92 KiB) Downloaded 3 times
2026-06-24 00-34-41.mp4
video demonstration
(13.14 MiB) Downloaded 5 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16967
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.1.7] Inventory LuaGuiElement glitching when writing to slots_per_row

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”