What?
An event that tells me if another mod created a new element in player.gui.center (children excluded).
What exactly?
I don't care for their children or left/right, i just want to know if some mod just put an extra element in the center which causes my center element to be in the wrong position. Because i'd like to close my element before it's pushed off-screen or whereever by some mean bully other-mod-center-gui :p.
If center wasn't a shared resource anymore like suggested here that would probably solve it too.
on_gui_center_changed
- eradicator
- Smart Inserter
- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
on_gui_center_changed
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Re: on_gui_center_changed
Solved by viewtopic.php?f=65&t=46487#p443704
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.