]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Improve comments
authorterencehill <piuntn@gmail.com>
Sat, 7 Mar 2015 00:09:54 +0000 (01:09 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 7 Mar 2015 00:09:54 +0000 (01:09 +0100)
qcsrc/client/hud_config.qc

index 884d61584cf18be7eb8359a0e9e7a92682eec85d..54cca0751d935b0e8811951c54c60ce53753caf1 100644 (file)
@@ -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;