From: Rudolf Polzer Date: Thu, 26 Jan 2012 11:56:25 +0000 (+0100) Subject: fix listboxes with showboxes X-Git-Tag: xonotic-v0.6.0~94 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d34351965b22d634977ba5b77c4ddb51eeca78c7;p=xonotic%2Fxonotic-data.pk3dir.git fix listboxes with showboxes --- diff --git a/qcsrc/menu/item/listbox.c b/qcsrc/menu/item/listbox.c index 9664e9376..4f8dca622 100644 --- a/qcsrc/menu/item/listbox.c +++ b/qcsrc/menu/item/listbox.c @@ -288,6 +288,10 @@ void ListBox_draw(entity me) me.drawListBoxItem(me, i, absSize, (me.selectedItem == i)); } draw_ClearClip(); + + draw_shift = oldshift; + draw_scale = oldscale; + SUPER(ListBox).draw(me); } void ListBox_clickListBoxItem(entity me, float i, vector where)