Skip to content

Commit

Permalink
2.0.2_single_tile_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brewster1134 committed Jun 23, 2016
1 parent cbaa632 commit 53140ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#### CHANGE LOG

###### 2.0.3
* single tile support

###### 2.0.2
* code refactor
* added tests
Expand Down
3 changes: 3 additions & 0 deletions lib/tiler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/tiler.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
@$currentActiveTile.addClass 'active enter end'

# Setup (fake) previous tile
return if @$currentPreviousTile[0] == @$currentActiveTile[0]
@$currentPreviousTile.addClass 'previous exit end'
@$currentPreviousTile.addClass 'reverse' if @options.isReversible

Expand Down

0 comments on commit 53140ce

Please sign in to comment.