]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
drawstring_aspect: fix wrong horizontal string alignment sometimes due to r_font_size...
authorterencehill <piuntn@gmail.com>
Sun, 7 Apr 2024 14:50:06 +0000 (16:50 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 7 Apr 2024 17:19:35 +0000 (19:19 +0200)
commitd29d074f0b3e212ad3e0728f7f973b179668cde4
treec73778f76ecf2a1c903c0243cd2ff0aa05b7f135
parentf0ddfc119ca0e3e880163337495b53a23b60012c
drawstring_aspect: fix wrong horizontal string alignment sometimes due to r_font_size_snapping 4; document macro helper. Also don't display timer subtext bold to mitigate drawstring_aspect bug

While at it I wrapped a couple very long lines in timer panel code
qcsrc/client/draw.qc
qcsrc/client/hud/panel/timer.qc