Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #18 from mikelehen/master

Draw other people's cursors behind CodeMirror.
  • Loading branch information...
commit 08923994ba4d35178878a55987764ee8672c213a 2 parents e778163 + 9b0933f
@timjb timjb authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/codemirror-adapter.js
View
1  lib/codemirror-adapter.js
@@ -224,6 +224,7 @@ ot.CodeMirrorAdapter = (function () {
cursorEl.style.borderLeftColor = color;
cursorEl.style.height = (cursorCoords.bottom - cursorCoords.top) * 0.9 + 'px';
cursorEl.style.marginTop = (cursorCoords.top - cursorCoords.bottom) + 'px';
+ cursorEl.style.zIndex = 0;
cursorEl.setAttribute('data-clientid', clientId);
this.cm.addWidget(cursorPos, cursorEl, false);
return {
Please sign in to comment.
Something went wrong with that request. Please try again.