Draw other people's cursors behind CodeMirror. #18

merged 1 commit into from Mar 18, 2013


None yet
2 participants

mikelehen commented Mar 17, 2013

Attempt #2. Looks like CodeMirror's z-indexes changed recently. Setting the cursorEl's z-index to 0 now makes it visible, but not interfere with clicks.

Draw other people's cursors behind CodeMirror.
Set z-index of other cursors to 0 so they don't interfere with codemirror's click handlers.  Without this, if you click on/around somebody else's cursor, your cursor won't move since the click is going to the pre element instead of to CodeMirror.

timjb added a commit that referenced this pull request Mar 18, 2013

Merge pull request #18 from mikelehen/master
Draw other people's cursors behind CodeMirror.

@timjb timjb merged commit 0892399 into Operational-Transformation:master Mar 18, 2013

1 check passed

default The Travis build passed

This comment has been minimized.

Show comment
Hide comment

timjb Mar 18, 2013


Merged. Thanks!


timjb commented Mar 18, 2013

Merged. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment