When creating a "list-box" gui element in the "script.on_configuration_changed" event this list-box cannot be scrolled (scroll_to_item) in the same event.
Obligatory expected result: The "list-box" gui element should scroll to the requested index
I did not test if this applies to more ...
Search found 3 matches
- Thu Jan 26, 2023 10:32 am
- Forum: Minor issues
- Topic: [1.1.74] List-box not scrolling to index while in "on_configuration_changed"
- Replies: 2
- Views: 1048
- Tue Jan 17, 2023 1:25 pm
- Forum: Modding help
- Topic: Updated documentation of the MOD Factorio Library
- Replies: 12
- Views: 2676
Re: Updated documentation of the MOD Factorio Library
I appreciate the advice. But for one this isn't about me and they specifically requested help with the "dictionary" module not "dictionary-lite"
For example:
When I try to use the directory example shown in the documentation, I get an error.
Also "dictionary-lite" is not available in all of the ...
For example:
When I try to use the directory example shown in the documentation, I get an error.
Also "dictionary-lite" is not available in all of the ...
- Tue Jan 17, 2023 12:16 pm
- Forum: Modding help
- Topic: Updated documentation of the MOD Factorio Library
- Replies: 12
- Views: 2676
Re: Updated documentation of the MOD Factorio Library
I had a similar problem like you.
While the example at https://factoriolib.github.io/flib/examples/dictionary.lua.html worked in single player it caused an instant de-sync in multi-player.
I managed to adapt the demo code so it works and does not de-sync.
The only changes I had to make were ...
While the example at https://factoriolib.github.io/flib/examples/dictionary.lua.html worked in single player it caused an instant de-sync in multi-player.
I managed to adapt the demo code so it works and does not de-sync.
The only changes I had to make were ...