@the-grid/ed
Advanced tools
Comparing version 0.4.4 to 0.4.5
## dev | ||
## 0.4.5 - 2016-02-27 | ||
* :apple: Smoother "fixed" menu hack | ||
## 0.4.4 - 2016-02-27 | ||
@@ -4,0 +8,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"description": "the grid api with prosemirror", | ||
@@ -8,0 +8,0 @@ "main": "dist/ed.js", |
@@ -25,3 +25,3 @@ import {UpdateScheduler} from 'prosemirror/src/ui/update' | ||
// Padding for all | ||
this.spaceContent = _.debounce(spaceContent, 50).bind(this) | ||
this.spaceContent = _.debounce(spaceContent, 250).bind(this) | ||
this.updater = new UpdateScheduler(ed.pm, 'selectionChange activeMarkChange commandsChanged', this.spaceContent) | ||
@@ -36,3 +36,3 @@ this.updater.force() | ||
this.menuEl.style.position = 'absolute' | ||
this.onScroll = _.debounce(onScroll, 50).bind(this) | ||
this.onScroll = onScroll.bind(this) | ||
this.ed = ed | ||
@@ -39,0 +39,0 @@ window.addEventListener('scroll', this.onScroll) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
5222906