Permalink
Browse files

* remove unnecessary getDirection

  • Loading branch information...
1 parent 4127244 commit 83e56a0027ab7534912e83b5839aceb893d19485 @JayGray JayGray committed Feb 23, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 javascript/script.js
@@ -57,14 +57,10 @@ var direction = (function () {
var setSouth = function () {
_actDirection = 0;
};
- var getDirection = function () {
- return _directions[_actDirection];
- };
return {
getPosition:getPosition,
setNewDirection:setNewDirection,
- getDirection:getDirection,
setSouth:setSouth
};
})();
@@ -186,11 +182,11 @@ function showPhotos() {
}
function onCircleChangeEvent(){
- if(impress.isOverview()){
var overviewDiv = document.getElementById('overview');
var newScaleFactor = (IMAGES_PER_ROW * 3.2) / 7;
overviewDiv.stepData.scale.x = newScaleFactor;
overviewDiv.stepData.scale.y = newScaleFactor;
+ if(impress.isOverview()){
impress.select(overviewDiv, true);
}
}

0 comments on commit 83e56a0

Please sign in to comment.