From: terencehill Date: Sat, 7 Mar 2015 00:09:54 +0000 (+0100) Subject: Improve comments X-Git-Tag: xonotic-v0.8.1~58^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5cf50c6a1436ab227a0994450ddb92885ce3595d;p=xonotic%2Fxonotic-data.pk3dir.git Improve comments --- 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;