From d34351965b22d634977ba5b77c4ddb51eeca78c7 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 26 Jan 2012 12:56:25 +0100 Subject: [PATCH] fix listboxes with showboxes --- qcsrc/menu/item/listbox.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.39.2