minor fixes

This commit is contained in:
Fabian Jakobs 2010-04-06 14:54:54 +02:00
commit c19476b824
3 changed files with 7 additions and 5 deletions

View file

@ -168,6 +168,7 @@ function Editor(doc, renderer)
addListener(container, "mousedown", function(e) {
textInput.focus();
self.placeCursorToMouse(e.pageX, e.pageY);
self.renderer.scrollCursorIntoView();
return preventDefault(e);
});