CyclopsMC / IntegratedTerminals

Terminals for managing and overviewing Integrated Dynamics networks
MIT License
5 stars 6 forks source link

Fixed quick move stack actions in the storage terminal #100

Closed Snonky closed 1 year ago

Snonky commented 1 year ago

Fixing #18

Before

Notice how the vanilla double-click-with-a-stack transfers all items of a type but it doesn't work in the terminal.

https://user-images.githubusercontent.com/47639380/234665842-2e4f8ed0-9571-4e1d-8473-fd6a846ac944.mp4

After

With the fix, you are able to store all items of a type using the double click.

https://user-images.githubusercontent.com/47639380/234666513-d4d8e2d3-60e3-4521-b573-55f906fd6135.mp4

With inventory management mod

It also makes inventory management mods like MouseTweaks work with the terminal YaLTeR/MouseTweaks#68

https://user-images.githubusercontent.com/47639380/234667585-58b8daa3-f4e3-483d-a27e-98fa5136544d.mp4

The fix

The pr implements #quickMoveStack as suggested in #18. It also changes the way the terminal screen hands click events to its super class to make all quick move actions end up in the #quickMoveStack method.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.