mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
cursor has site color
This commit is contained in:
@@ -30,6 +30,9 @@ class CursorView extends View
|
||||
@cursor.on 'destroyed.cursor-view', =>
|
||||
@needsRemoval = true
|
||||
|
||||
if @cursor.marker.isRemote()
|
||||
@addClass("site-#{@cursor.marker.getOriginSiteId()}")
|
||||
|
||||
remove: ->
|
||||
@editor.removeCursorView(this)
|
||||
@cursor.off('.cursor-view')
|
||||
|
||||
Reference in New Issue
Block a user