Skip to content

Commit

Permalink
flexible eyes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaushik Thirthappa committed Mar 28, 2012
1 parent ec55c8e commit fdbdd62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Expand Up @@ -20,5 +20,5 @@ function animateEyes ( xPos , yPos ) {
}

function newEyeballPos ( currentPos , eyePos ) {
return Math.min(Math.max( currentPos , eyePos + 3 ) , eyePos + 17) + "px";
return Math.min(Math.max( currentPos , eyePos + 1 ) , eyePos + 16) + "px";
}

0 comments on commit fdbdd62

Please sign in to comment.