Fix the color view key gobbling bug.

This commit is contained in:
Bill Currie 2011-07-06 19:48:27 +09:00
parent 508fd22d27
commit 01463b0e77
1 changed files with 2 additions and 4 deletions

View File

@ -38,12 +38,10 @@
- (int) keyEvent:(int)key unicode:(int)unicode down:(int)down
{
switch (key) {
case QFK_DOWN:
case QFM_WHEEL_DOWN:
case QFK_RIGHT:
[self next];
return 1;
case QFK_UP:
case QFM_WHEEL_UP:
case QFK_LEFT:
[self prev];
return 1;
}