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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user