Catch pageup/pagedown in DateTimeComponent edit mode.

This commit is contained in:
Aloshi 2015-03-05 17:49:26 -06:00
parent 2b3080f90b
commit d2b0fec88b

View file

@ -54,9 +54,9 @@ bool DateTimeComponent::input(InputConfig* config, Input input)
}
int incDir = 0;
if(config->isMappedTo("up", input))
if(config->isMappedTo("up", input) || config->isMappedTo("pageup", input))
incDir = 1;
else if(config->isMappedTo("down", input))
else if(config->isMappedTo("down", input) || config->isMappedTo("pagedown", input))
incDir = -1;
if(incDir != 0)