]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fade out sandbox tools
authorRudolf Polzer <divverent@xonotic.org>
Wed, 29 Feb 2012 13:18:31 +0000 (14:18 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 29 Feb 2012 13:18:52 +0000 (14:18 +0100)
qcsrc/menu/skin-customizables.inc
qcsrc/menu/xonotic/mainwindow.c

index bfbe8021fed5fbb1afc3677e37f37b8b896560df..d30ac7248d0294ac557d8fe4b38a9a96b1814ad1 100644 (file)
@@ -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");
index 2adb9343e491b7f70f1355ad14865463753b5857..f9d86c2dd229276aadb7272c9484f165bb1ad606 100644 (file)
@@ -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