]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Thighten up the panel selection border in the HUD editor
authorSeverin Meyer <sev.ch@web.de>
Wed, 21 Jan 2015 22:26:53 +0000 (23:26 +0100)
committerSeverin Meyer <sev.ch@web.de>
Wed, 21 Jan 2015 22:26:53 +0000 (23:26 +0100)
qcsrc/client/hud_config.qc

index 4ae8f9f6141dcd8459cce17ff1072b20f56e329d..e19e2378754b1d4052fd3ecdf9eb1195b2ca3cdf 100644 (file)
@@ -1255,7 +1255,7 @@ void HUD_Configure_Frame()
        }
 }
 
-const float hlBorderSize = 4;
+const float hlBorderSize = 2;
 const string hlBorder = "gfx/hud/default/border_highlighted";
 const string hlBorder2 = "gfx/hud/default/border_highlighted2";
 void HUD_Panel_HlBorder(float myBorder, vector color, float theAlpha)
@@ -1281,7 +1281,7 @@ void HUD_Configure_PostDraw()
                {
                        panel = highlightedPanel;
                        HUD_Panel_UpdatePosSize()
-                       HUD_Panel_HlBorder(panel_bg_border + 1.5 * hlBorderSize, '0 0.5 1', 0.25 * (1 - autocvar__menu_alpha));
+                       HUD_Panel_HlBorder(panel_bg_border * hlBorderSize, '0 0.5 1', 0.4 * (1 - autocvar__menu_alpha));
                }
        }
 }