* Fix for phantom cancel button

This commit is contained in:
James McCulloch 2010-09-24 04:52:51 +00:00
parent 4f0846a2c3
commit e8b28b4298
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ void Display::switchColor(){
int Display::computeDownIndex(int x, int y){
y= y-(downY-cellSideCount*imageSize);
if(y>imageSize*cellSideCount){
if(y>imageSize*cellSideCount || y < 0){
return invalidPos;
}