Skip to content

Commit

Permalink
Should address issue #68 (center spread corrupts left/right sequences)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielweck committed Jul 28, 2014
1 parent 05b019f commit 87e0845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/models/fixed_page_spread.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ ReadiumSDK.Models.Spread = function(spine, isSyntheticSpread) {
var neighbour = getNeighbourItem(item);
if(neighbour) {
var neighbourPos = getItemPosition(neighbour);
if(neighbourPos != position && position != ReadiumSDK.Models.Spread.POSITION_CENTER) {
if(neighbourPos != position && neighbourPos != ReadiumSDK.Models.Spread.POSITION_CENTER) {
setItemToPosition(neighbour, neighbourPos);
}
}
Expand Down

0 comments on commit 87e0845

Please sign in to comment.