Hide "circuit connection" side gui
Hide "circuit connection" side gui
This window already doesn't appear if the entity prototype has circuit_wire_max_distance set to 0 (even if it is connected by script), but that means wire connections will have to be handled by script, which is a lot of work.
I propose adding a boolean field field to every entity prototype that supports circuit connections: show_circuit_connection_window
Alternatively, a runtime option, for example on LuaPlayer (write-only is fine) to show/hide this window on the currently opened gui.
Re: Hide "circuit connection" side gui
It would be better if the two sidebars were combined into one: show both base game and modded anchored GUIs in the same column.
Re: Hide "circuit connection" side gui
Not sure whether it would be better as some mods may like to hide circuit gui entirely and remake it on their own.curiosity wrote: Thu Apr 24, 2025 4:29 pm It would be better if the two sidebars were combined into one: show both base game and modded anchored GUIs in the same column.
It also is likely to be much harder to implement since they are on a different backend and mixing them might cause issues.
I would still much prefer that over how it is right now
Re: Hide "circuit connection" side gui
Specifically to address the problem "it looks like crap". Because there can be other things there, like logistic connection. If you want to hide the circuit connection frame specifically (because it's useless, like in your example, or because you have other plans), that's different.Osmo wrote: Thu Apr 24, 2025 5:13 pm Not sure whether it would be better as some mods may like to hide circuit gui entirely and remake it on their own.
It also is likely to be much harder to implement since they are on a different backend and mixing them might cause issues.
I would still much prefer that over how it is right now
And yes, it will be hard. But who knows how hard allowing to hide the circuit connection frame is.
Re: Hide "circuit connection" side gui
I'm gonna play the devil's advocate here, as someone who also mods guis attached to the right and has the same issue :
You can hide the circuit connection window by clicking its widget.
Sure, when it's opened, it doesn't look great. But you still can, currently, hide this window.
So the question isn't to have an option to hide it, really, but to make it appear somewhere else. (At the right of a modded attachment ? above ? to be able to detach it ?)
Point being : you can, as for now, hide it. Click the yellow button here.
You can hide the circuit connection window by clicking its widget.
Sure, when it's opened, it doesn't look great. But you still can, currently, hide this window.
So the question isn't to have an option to hide it, really, but to make it appear somewhere else. (At the right of a modded attachment ? above ? to be able to detach it ?)
Point being : you can, as for now, hide it. Click the yellow button here.
Re: Hide "circuit connection" side gui
I am perfectly aware of this. The problem is that it defaults to being shown and mods can't control it. And most players wont bother clicking that button every time they open that gui. All i want is for mods to be able to control it.Puke wrote: Wed Apr 30, 2025 1:04 pm You can hide the circuit connection window by clicking its widget.