mirror of
https://github.com/jsbin/jsbin.git
synced 2026-02-01 16:46:05 +00:00
Splitter movement back to 60fps
 helps to check these things! Turns out I was setting off a redundant timer on mousemove.
This commit is contained in:
parent
ce7422fc90
commit
991c873496
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user