From 5cf50c6a1436ab227a0994450ddb92885ce3595d Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 7 Mar 2015 01:09:54 +0100 Subject: [PATCH] Improve comments --- qcsrc/client/hud_config.qc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/qcsrc/client/hud_config.qc b/qcsrc/client/hud_config.qc index 884d61584..54cca0751 100644 --- a/qcsrc/client/hud_config.qc +++ b/qcsrc/client/hud_config.qc @@ -743,15 +743,14 @@ float HUD_Panel_InputEvent(float bInputType, float nPrimary, float nSecondary) if (!menu_enabled) cvar_set("_hud_configure", "0"); } - else if(nPrimary == K_TAB && hudShiftState & S_CTRL) // select and highlight another panel + else if(nPrimary == K_TAB && hudShiftState & S_CTRL) // switch panel { if (bInputType == 1 || mouseClicked) return true; - //FIXME: if a panel is highlighted, has the same pos_x and lays in the same level - //of other panels then next consecutive ctrl-tab will select the highlighted panel too - //(it should only after every other panel of the hud) - //It's a minor bug anyway, we can live with it + // FIXME minor bug: if a panel is highlighted, has the same pos_x and + // lays in the same level of another panel then the next consecutive + // CTRL TAB presses will reselect once more the highlighted panel entity starting_panel; entity old_tab_panel = tab_panel; -- 2.39.2