Skip to content

Commit

Permalink
Fixed linear easing 📏
Browse files Browse the repository at this point in the history
  • Loading branch information
bfiessinger authored Feb 13, 2020
1 parent f9384f8 commit 9e83809
Show file tree
Hide file tree
Showing 9 changed files with 433 additions and 517 deletions.
3 changes: 3 additions & 0 deletions changelog.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

### 2.1.2
- Bugfix: linear easing not working

### 2.1.1
- Call destroy method on initialization to prevent errors with existing ones
- Added a update Method to edit settings after initialization
Expand Down
5 changes: 3 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ <h3>Options:</h3>
<script src="../dist/scrolltosmooth.js"></script>
<script>
var smoothScroll = new scrollToSmooth('a', {
easing: 'easeInOutElastic',
speed: 600,
easing: 'easeInOutQuad',
easing: 'linear',
duration: 600,
durationRelative: true,
updateURL: true,
//onScrollStart: (data) => { console.log(data); },
Expand Down
Loading

0 comments on commit 9e83809

Please sign in to comment.