player.recenter_opened_gui()

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
Xorimuth
Filter Inserter
Filter Inserter
Posts: 625
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: Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Remote Configuration | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings

Post Reply

Return to “Modding interface requests”