Module Inserter


Mass insert modules into machines with construction bots

Utilities
a month ago
0.13 - 1.1
140K

g Style of main_button

3 years ago

Hello. Would you consider updating config button to be in-line with 1.1 changes?
Like this: https://i.postimg.cc/vHhbFDws/MI-Button-background-comp.png
I don't know how to update your existing button style definitions, so I used default "mod_gui.icon_button_style" instead of "module-inserter-button" in gui.lua:227.

3 years ago

I could be blind, but the mod_gui doesn't have a icon_button_style.
SE uses "slot_button", mod_gui.button_style is still "mod_gui_button" (At least in 1.1.2, but i don't think there have been any changes)

So technically my version is still in line with 1.1 changes, but i get that it looks odd when the majority has a dark background.
Also Factorio's clickable buttons are mostly with a light gray background. If i can't come up with a proper solution, I'll add a command to toggle the style in the next version.

3 years ago

I added a mod setting in the latest version, since i can't decide what style i prefer ;)

3 years ago

Looks awesome, thank you.)

New response