Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 20, 2011, 3:24:55 AM (13 years ago)
Author:
landauf
Message:

greatly improved keyboard controlled navigation in menus with sparse button tables (deactivated buttons, deactivated rows or columns, holes, randomly placed buttons, …)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/usability/data/gui/scripts/SheetManager.lua

    r7925 r7926  
    134134    -- select first button if the menu was opened with the keyboard
    135135    if previous and previous.pressedEnter and menuSheet.buttons and menuSheet:hasSelection() == false then
    136         menuSheet:moveSelection(1, 0)
     136        menuSheet:moveSelectionRow(1)
    137137    end
    138138
Note: See TracChangeset for help on using the changeset viewer.