Splitter movement back to 60fps

![http://d.pr/i/dAas+](http://d.pr/i/dAas+) helps to check these things!

Turns out I was setting off a redundant timer on mousemove.
This commit is contained in:
Remy Sharp 2013-10-17 12:27:40 +01:00
parent ce7422fc90
commit 991c873496

View File

@ -132,7 +132,8 @@
localStorage.setItem('splitterSettings', JSON.stringify(splitterSettings));
// wait until animations have completed!
setTimeout(function () {
if (moveSplitter.timer) clearTimeout(moveSplitter.timer);
moveSplitter.timer = setTimeout(function () {
$document.trigger('sizeeditors');
}, 120);
}