MortenTobiasNielsen / Factorio-TAS-Generator

This is an attempt to create a helper tool for Tool Assisted Speedruns in Factorio. A guide of how to use the tool can be found here: https://www.youtube.com/watch?v=V9tuNoDqc0E&t
MIT License
13 stars 4 forks source link

Importer clears the steps when they are pasted in #232

Closed MortenTobiasNielsen closed 1 year ago

MortenTobiasNielsen commented 1 year ago

I unfortunately haven't been able to pin point why it happens, but it seems to have something to do with either stone furnace or inserter. It works when all steps are transport belt.

MortenTobiasNielsen commented 1 year ago

It seems like the component won't allow more lines than can be in the window.

theis999 commented 1 year ago

image It is this no-scroll setting that prevents more text than can fit inside the frame. It is easily removed, but it would mean that a scroll bar is present.

Do the imported steps get cleared due to the "clear import" checkbox or something else?

MortenTobiasNielsen commented 1 year ago

I was looking for something like that but couldn't find it - nice that you found it. No problem with a scroll bar, if it makes the feature more useable.

It seems like it is the underlying component, which won't allow it. It also happens when "clear import" is unchecked.

theis999 commented 1 year ago

It wasn't particularly hard to find, when i had specifically put it on 😎 As i recall it, the options were between always having a scrollbar and never having one. But of course usability shouldn't be sacrificed for aesthetics.

If you know how to trigger it, can you paste the imports here?

MortenTobiasNielsen commented 1 year ago

Hehe, yeah that makes it a little easier. 😂 I am not at my computer, but it should at least happen when you record more than 100 steps and try to paste them into the import field.