player.recenter_opened_gui()
player.recenter_opened_gui()
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
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings