Permalink
Browse files

Reduce resize/scroll debounce to 16 for 60 fps

  • Loading branch information...
kabel committed Dec 12, 2016
1 parent bce4f47 commit 3549db014b58b14198079de312327b51d21e7b06
Showing with 2 additions and 2 deletions.
  1. +2 −2 wdn/templates_4.1/scripts/navigation.js
@@ -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

0 comments on commit 3549db0

Please sign in to comment.