CyclopsMC / IntegratedTerminals

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

predicate insertion does not reset scroll bar #13

Closed antrobot1234 closed 5 years ago

antrobot1234 commented 5 years ago

Issue type:


Short description:

whenever you put a predicate in the terminal, the scroll bar isn't reset.

Steps to reproduce the problem:

  1. make a system of a storage interface and terminal
  2. fill the storage to an extent that the scroll bar becomes active 3.scroll to the bottom 4.insert a predicate that will narrow the inventory enough to deactivate the scroll bar 5.the scroll bar will be deactivated but still scrolled down, locking you with an empty screen until you remove the predicate.

Expected behavior:

the scroll bar should be reset to the top position whenever it is disabled (and possibly set back to original position once re-enabled)


Versions:

Log file: