player.recenter_opened_gui()

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Xorimuth
Filter Inserter
Filter Inserter
Posts: 722
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

player.recenter_opened_gui()

Post by Xorimuth »

Since viewtopic.php?f=48&t=98136 was declined, I'd like a function that mods can call after adding/removing a LuiGuiElement to trigger the recentering manually.
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
Post Reply

Return to “Modding interface requests”