Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Low FPS With Transmatter Terminal #12

Open
Siombre opened this issue Mar 23, 2020 · 0 comments
Open

Low FPS With Transmatter Terminal #12

Siombre opened this issue Mar 23, 2020 · 0 comments

Comments

@Siombre
Copy link

Siombre commented Mar 23, 2020

The Transmatter Terminal causes low FPS when it is open and there are many types of item in the system.
This low FPS goes away when a filter is applied that drastically reduces the number of items being shown.

I think that this is caused by the terminal grid not having a cap on the number of items it displays, even if those items would be cut off by the bottom of the window.

I think this could be solved by limiting shownItems to grid.columns*10 items near the end of the terminal's refreshDisplay function, or by otherwise changing the grid display to only attempt to draw onscreen items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant