resolved scrolling issue (Issue 801) in filters list. it's a little verbose, but it seems to work. need to see if we can't refactor CheckUserInput to reduce the amount of code duplication. The logic for SimpleMenu is slightly different from the base method. perhaps we should override CheckUserInput to take in two parameters instead of one.

This commit is contained in:
techdragon.nguyen@gmail.com
2012-03-20 23:07:21 +00:00
parent 18c0868d88
commit 865bc7e494
3 changed files with 68 additions and 1 deletions

View File

@@ -1854,6 +1854,7 @@ void WGuiFilters::Render()
bool WGuiFilters::CheckUserInput(JButton key)
{
if (subMenu && !subMenu->isClosed() && subMenu->CheckUserInput(key)) return true;
if (key == JGE_BTN_SEC)
{//|| key == JGE_BTN_MENU){
//TODO Pop up a "Are you sure?" dialog.