]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix listboxes with showboxes
authorRudolf Polzer <divverent@alientrap.org>
Thu, 26 Jan 2012 11:56:25 +0000 (12:56 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 26 Jan 2012 11:56:25 +0000 (12:56 +0100)
qcsrc/menu/item/listbox.c

index 9664e93765575014aab68a8198ee3fc22bb3ca14..4f8dca622c239e0294ba023b68f8101f737c6f15 100644 (file)
@@ -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)