06fd1ac6

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Keep inventory HUD fixed while zooming (#8)

Apply inverse camera zoom from the camera origin so inventory counts keep the same screen position and size when the world camera zooms. Refresh the HUD layout after mousewheel zoom changes and cover the behavior with a regression test.

Reviewed-on: https://codeberg.org/mtlynch/mikeville/pulls/8

Suite timing

Time to Start Worker time Duration Time to finish
Config 2s 12s 12s 14s
Eval 11s 54s 54s 1m05s
Build 22s 2m29s 37s 1m00s
Suite 2s 3m36s 1m03s 1m05s

Timeline

0s10s20s30s40s50s1m