acaudwell / Gource

software version control visualization
https://gource.io
GNU General Public License v3.0
11.45k stars 723 forks source link

--fixed-user-size breaks user name distance #305

Open FrostKiwi opened 1 year ago

FrostKiwi commented 1 year ago

As defined by line https://github.com/acaudwell/Gource/blob/5109bb9aa8c7c7d7f62464bee96992d8494940bd/src/gource.cpp#L2273 the --fixed-user-size feature is achieved by scaling the avatar by the camera distance. However, the thing that this approach ignores, is that this messes with the user-name position, as the user name is still placed as a function of the avatar size before the --fixed-user-size multiplier.

As a result, the name distance when starting out or zoomed in is very big... image ...and later on when zoomed out, intersects with the avatar. image