From: Rudolf Polzer Date: Wed, 29 Feb 2012 13:18:31 +0000 (+0100) Subject: fade out sandbox tools X-Git-Tag: xonotic-v0.6.0~39 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=4337108fce31bfd194b2e7c01304a4a0cd7fef20;p=xonotic%2Fxonotic-data.pk3dir.git fade out sandbox tools --- 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