Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6351 for code/branches


Ignore:
Timestamp:
Dec 14, 2009, 8:20:08 PM (15 years ago)
Author:
scheusso
Message:

keybinding now possible without scrolling again and again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/data/gui/scripts/KeyBindMenu.lua

    r6346 r6351  
    200200
    201201function P.callback()
     202    local pane = tolua.cast(winMgr:getWindow("orxonox/KeyBindPane"), "CEGUI::ScrollablePane")
     203    local position = pane:getVerticalScrollPosition()
    202204    while table.getn(linesList) ~= 0 do
    203205        if linesList[1] ~= nil then
     
    213215        InfoPopup.close()
    214216    end
     217    pane:setVerticalScrollPosition( position )
    215218end
    216219
Note: See TracChangeset for help on using the changeset viewer.