Fixed: record only key next/prior event on CCtrlScroll element

--HG--
branch : menu_navi
hg/feature/menu-navi
Inky 6 years ago
parent f75e413994
commit 6fdbdc9ed1

@ -938,7 +938,9 @@ namespace NLGUI
sint32 i = 0;
// direction
if (eventDesc.getKey() == KeyNEXT) i++;
if (eventDesc.getKey() == KeyPRIOR) i--;
else if (eventDesc.getKey() == KeyPRIOR) i--;
else
return false;
if (_Vertical)
moveTrackY(-(i * _TargetStepY));

Loading…
Cancel
Save