Commit d2b0fec8 authored by Aloshi's avatar Aloshi

Catch pageup/pagedown in DateTimeComponent edit mode.

parent 2b3080f9
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment