]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable the preview window as it causes menu to freeze a bit too much when loading...
authorterencehill <piuntn@gmail.com>
Sun, 15 May 2011 17:23:42 +0000 (19:23 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 15 May 2011 17:23:42 +0000 (19:23 +0200)
qcsrc/menu/xonotic/dialog_multiplayer_screenshot.c

index 432c988e725141b6cc855c1b5faba34cec0c2e9a..6ea1f55046d932e317af4f4a454109c9c32015d8 100644 (file)
@@ -35,7 +35,7 @@ void XonoticScreenshotBrowserTab_fill(entity me)
 {
        entity e, btn, slist;
        slist = makeXonoticScreenshotList();
-       const float slist_height = 8;
+       const float slist_height = me.rows - 1;
        me.TR(me);
                me.TD(me, 1, 0.5, e = makeXonoticTextLabel(0, "Filter:"));
                me.TD(me, 1, 0.5, btn = makeXonoticButton("Clear", '0 0 0'));
@@ -56,11 +56,13 @@ void XonoticScreenshotBrowserTab_fill(entity me)
                me.TD(me, 1, me.columns, e = makeXonoticButton("Open in the viewer", '0 0 0'));
                        e.onClick = StartScreenshot_Click;
                        e.onClickEntity = slist;
+/*
        me.TR(me);
                me.TD(me, me.rows - me.currentRow, me.columns, e = makeXonoticScreenshotImage());
                        e.showTitle = 0;
                        me.screenshotImage = e;
                        slist.screenshotPreview = e;
                        slist.screenshotBrowserDialog = me;
+*/
 }
 #endif