add extension for enabling spellchecking from contextmenu

This commit is contained in:
nightwing 2013-03-02 17:54:21 +04:00
commit f514330729
4 changed files with 84 additions and 14 deletions

View file

@ -549,8 +549,8 @@ var VirtualRenderer = function(container, theme) {
this.textarea.style.height = this.lineHeight + "px";
this.textarea.style.width = w + "px";
this.textarea.style.right = this.$size.scrollerWidth - posLeft - w + "px";
this.textarea.style.bottom = this.$size.height - posTop - this.lineHeight + "px";
this.textarea.style.right = Math.max(0, this.$size.scrollerWidth - posLeft - w) + "px";
this.textarea.style.bottom = Math.max(0, this.$size.height - posTop - this.lineHeight) + "px";
};
/**