pmotschmann / Evolve

An incremental game about evolving a civilization
Mozilla Public License 2.0
839 stars 361 forks source link

[UI Bug] Resource updates make material crafting terrible on some window sizes/zoom levels #1092

Open Candcg opened 7 months ago

Candcg commented 7 months ago

On less standard resolutions and zoom levels, the materials list will rapidly increase and decrease in length, as certain resources change amounts, e.g., knowledge going from 400k/400k to 0/400k makes the overall list shorter, which changes the on screen position of the buttons for manually crafting bricks, sheet metal ect.

This compounds across multiple resources to the point where it is extremely difficult to manually craft wrought iron without also accidently using all of your concrete.

Should be an easy fix, either allow the variable values to only partially display, OR force the maximum amount of space to always be occupied with trailing 0's, OR, allow the entire sidebar stack (Build queue/event log/resource list) to be manually size adjustable horizontally.

I would not this bug does not appear if the browser is in full screen mode, but is clearly shown when the browser is sized to take up one side of the screen and then zoomed out (so as to fit the full ui on screen) (Windows 10 allows open windows to be dragged to either side of the screen (and each corner) to automatically size said window appropriately). Issue logged on current version of Chrome