From: Severin Meyer Date: Wed, 21 Jan 2015 22:26:53 +0000 (+0100) Subject: Thighten up the panel selection border in the HUD editor X-Git-Tag: xonotic-v0.8.1~149^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b602ca56eba10d46e368f735e2f29504810b7681;p=xonotic%2Fxonotic-data.pk3dir.git Thighten up the panel selection border in the HUD editor --- diff --git a/qcsrc/client/hud_config.qc b/qcsrc/client/hud_config.qc index 4ae8f9f61..e19e23787 100644 --- a/qcsrc/client/hud_config.qc +++ b/qcsrc/client/hud_config.qc @@ -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)); } } }