Skip to content

Commit

Permalink
Reduce resize/scroll debounce to 16 for 60 fps
Browse files Browse the repository at this point in the history
  • Loading branch information
kabel committed Dec 12, 2016
1 parent bce4f47 commit 3549db0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wdn/templates_4.1/scripts/navigation.js
Expand Up @@ -6,8 +6,8 @@ define(['jquery', 'wdn', 'modernizr', 'require', 'socialmediashare'], function($
var hoverPlugin = 'plugins/hoverIntent/jquery.hoverIntent';
var expandDelay = 400;
var collapseDelay = 120;
var scrollThrottle = 50;
var resizeThrottle = 100;
var scrollThrottle = 16;
var resizeThrottle = 16;
var transitionDelay = 200; // this is 100ms + @nav-transition-duration from ../less/_mixins/vars.less

// framework selectors
Expand Down

0 comments on commit 3549db0

Please sign in to comment.