]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix broken layout with alignment on the left
authorterencehill <piuntn@gmail.com>
Fri, 4 May 2012 18:08:43 +0000 (20:08 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 4 May 2012 18:08:43 +0000 (20:08 +0200)
qcsrc/client/hud.qc

index 93b28fb451ee3a8363b694149c2b65f9e3a305f4..e901e9d2d31639884d697f4c085ef8e33b8227be 100644 (file)
@@ -5267,7 +5267,7 @@ void HUD_QuickMenu_DrawEntry(vector pos, string s, vector fontsize)
                drawcolorcodedstring(pos + eX * offset, entry, fontsize, panel_fg_alpha, DRAWFLAG_ADDITIVE);
        }
        else
-               drawcolorcodedstring(pos + eY * (panel_size_y - fontsize_y), entry, fontsize, panel_fg_alpha, DRAWFLAG_ADDITIVE);
+               drawcolorcodedstring(pos, entry, fontsize, panel_fg_alpha, DRAWFLAG_ADDITIVE);
 }
 void HUD_QuickMenu(void)
 {