From 4337108fce31bfd194b2e7c01304a4a0cd7fef20 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 29 Feb 2012 14:18:31 +0100 Subject: [PATCH] fade out sandbox tools --- qcsrc/menu/skin-customizables.inc | 1 + qcsrc/menu/xonotic/mainwindow.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/menu/skin-customizables.inc b/qcsrc/menu/skin-customizables.inc index bfbe8021f..d30ac7248 100644 --- a/qcsrc/menu/skin-customizables.inc +++ b/qcsrc/menu/skin-customizables.inc @@ -190,6 +190,7 @@ SKINBEGIN // item: nexposee SKINVECTOR(ALPHAS_MAINMENU, '0.6 0.8 0.9'); + SKINFLOAT(ALPHA_DIALOG_SANDBOXTOOLS, 0.6); // item: player color button SKINSTRING(GFX_COLORBUTTON, "colorbutton"); diff --git a/qcsrc/menu/xonotic/mainwindow.c b/qcsrc/menu/xonotic/mainwindow.c index 2adb9343e..f9d86c2dd 100644 --- a/qcsrc/menu/xonotic/mainwindow.c +++ b/qcsrc/menu/xonotic/mainwindow.c @@ -191,7 +191,7 @@ void MainWindow_configureMainWindow(entity me) // mutator dialogs i = spawnXonoticSandboxToolsDialog(); i.configureDialog(i); - me.addItemCentered(me, i, i.intendedWidth * eX + i.intendedHeight * eY, SKINALPHAS_MAINMENU_z); + me.addItemCentered(me, i, i.intendedWidth * eX + i.intendedHeight * eY, SKINALPHAS_MAINMENU_z * SKINALPHA_DIALOG_SANDBOXTOOLS); // miscellaneous dialogs -- 2.39.2