pmotschmann / Evolve

An incremental game about evolving a civilization
Mozilla Public License 2.0
794 stars 343 forks source link

[Bug] Building Queue/Log resizes itself once a second #1099

Open tankorsmash opened 4 months ago

tankorsmash commented 4 months ago

I only noticed this happening with the latest update, v1.3.11a:

https://github.com/pmotschmann/Evolve/assets/1312390/46c5b7c0-8978-4fc9-b2ee-5c687a5e82f6

It happens when you resize it to make space, where it resizes to fit the content immediately. If you resize it to small, about once a tick it gets slightly larger until it fits all the content.

Chrome Windows 10

chipplyman commented 2 months ago

My preference here is that the container would immediately expand to fit the content when it is sized too small, similarly to how it immediately shrinks to fit the content when it is sized too large.

If the linked PR is only controlling whether auto-resize occurs, but does not alter the auto-grow behavior, I don't think it should close this issue.